Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1570857

Re: [RFC] cpuset: Enable changing of top_cpuset's mems_allowed nodemask

From Mel Gorman <mgorman@suse.de>
Newsgroups linux.kernel
Subject Re: [RFC] cpuset: Enable changing of top_cpuset's mems_allowed nodemask
Date 2017-01-31 17:10 +0100
Message-ID <t5Jaj-2Mv-33@gated-at.bofh.it> (permalink)
References <t5r3I-8h-5@gated-at.bofh.it> <t5HBw-1Ll-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jan 31, 2017 at 07:52:37PM +0530, Anshuman Khandual wrote:
> At present, top_cpuset.mems_allowed is same as node_states[N_MEMORY] and it
> cannot be changed at the runtime. Maximum possible node_states[N_MEMORY]
> also gets reflected in top_cpuset.effective_mems interface. It prevents some
> one from removing or restricting memory placement which will be applicable
> system wide on a given memory node through cpuset mechanism which might be
> limiting. This solves the problem by enabling update_nodemask() function to
> accept changes to top_cpuset.mems_allowed as well. Once changed, it also
> updates the value of top_cpuset.effective_mems. Updates all it's task's
> mems_allowed nodemask as well. It calls cpuset_inc() to make sure cpuset
> is accounted for in the buddy allocator through cpusets_enabled() check.
> 

What's the point of allowing the root cpuset to be restricted?

-- 
Mel Gorman
SUSE Labs

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init() Mel Gorman <mgorman@suse.de> - 2017-01-30 21:50 +0100
  [RFC] cpuset: Enable changing of top_cpuset's mems_allowed nodemask Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-01-31 15:30 +0100
    Re: [RFC] cpuset: Enable changing of top_cpuset's mems_allowed  nodemask Mel Gorman <mgorman@suse.de> - 2017-01-31 17:10 +0100
      Re: [RFC] cpuset: Enable changing of top_cpuset's mems_allowed  nodemask Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-02-01 08:40 +0100
        Re: [RFC] cpuset: Enable changing of top_cpuset's mems_allowed  nodemask Michal Hocko <mhocko@kernel.org> - 2017-02-01 10:00 +0100
        Re: [RFC] cpuset: Enable changing of top_cpuset's mems_allowed  nodemask Mel Gorman <mgorman@suse.de> - 2017-02-01 10:20 +0100
  Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init() Vlastimil Babka <vbabka@suse.cz> - 2017-01-31 15:40 +0100
    Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init() Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-01-31 16:40 +0100

csiph-web