Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init()

2017-01-31 Thread Anshuman Khandual
On 01/31/2017 08:06 PM, Vlastimil Babka wrote: > On 01/30/2017 09:30 PM, Mel Gorman wrote: >> On Mon, Jan 30, 2017 at 09:05:46AM +0530, Anshuman Khandual wrote: >>> Currently cpusets_enabled() wrongfully returns 0 even if we have a root >>> cpuset configured on the system. This got missed when jump

Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init()

2017-01-31 Thread Vlastimil Babka
On 01/30/2017 09:30 PM, Mel Gorman wrote: > On Mon, Jan 30, 2017 at 09:05:46AM +0530, Anshuman Khandual wrote: >> Currently cpusets_enabled() wrongfully returns 0 even if we have a root >> cpuset configured on the system. This got missed when jump level was >> introduced in place of number_of_cpuse

Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init()

2017-01-30 Thread Mel Gorman
On Mon, Jan 30, 2017 at 09:05:46AM +0530, Anshuman Khandual wrote: > Currently cpusets_enabled() wrongfully returns 0 even if we have a root > cpuset configured on the system. This got missed when jump level was > introduced in place of number_of_cpusets with the commit 664eeddeef65 > ("mm: page_al

Re: [RFC V2 05/12] cpuset: Add cpuset_inc() inside cpuset_init()

2017-01-30 Thread Dave Hansen
On 01/29/2017 07:35 PM, Anshuman Khandual wrote: > Currently cpusets_enabled() wrongfully returns 0 even if we have a root > cpuset configured on the system. This got missed when jump level was > introduced in place of number_of_cpusets with the commit 664eeddeef65 > ("mm: page_alloc: use jump labe