Re: [PATCH v3 01/12] cpuset: add cs->effective_cpus and cs->effective_mems

2014-07-09 Thread Tejun Heo
On Wed, Jul 09, 2014 at 04:47:03PM +0800, Li Zefan wrote: > + /* user-configured CPUs and Memory Nodes allow to tasks */ allowed > + cpumask_var_t cpus_allowed; > + nodemask_t mems_allowed; > + > + /* effective CPUs and Memory Nodes

[PATCH v3 01/12] cpuset: add cs->effective_cpus and cs->effective_mems

2014-07-09 Thread Li Zefan
We're going to have separate user-configured masks and effective ones. Eventually configured masks can only be changed by writing cpuset.cpus and cpuset.mems, and they won't be restricted by parent cpuset. While effective masks reflect cpu/memory hotplug and hierachical restriction, and these are

[PATCH v3 01/12] cpuset: add cs-effective_cpus and cs-effective_mems

2014-07-09 Thread Li Zefan
We're going to have separate user-configured masks and effective ones. Eventually configured masks can only be changed by writing cpuset.cpus and cpuset.mems, and they won't be restricted by parent cpuset. While effective masks reflect cpu/memory hotplug and hierachical restriction, and these are

Re: [PATCH v3 01/12] cpuset: add cs-effective_cpus and cs-effective_mems

2014-07-09 Thread Tejun Heo
On Wed, Jul 09, 2014 at 04:47:03PM +0800, Li Zefan wrote: + /* user-configured CPUs and Memory Nodes allow to tasks */ allowed + cpumask_var_t cpus_allowed; + nodemask_t mems_allowed; + + /* effective CPUs and Memory Nodes allow