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

From: Dave Hansen
Date: Mon Jan 30 2017 - 13:17:40 EST


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 labels to avoid checking number_of_cpusets")
> . This fixes the problem so that cpusets_enabled() returns positive even
> for the root cpuset.
>
> Fixes: 664eeddeef65 ("mm: page_alloc: use jump labels to avoid")
> Signed-off-by: Anshuman Khandual <khandual@xxxxxxxxxxxxxxxxxx>

This needs to go upstream separately, right?