Re: [PATCH 26/28] cpuset: use static key better and convert to new API

2016-04-26 Thread Vlastimil Babka
On 04/15/2016 11:07 AM, Mel Gorman wrote: From: Vlastimil Babka An important function for cpusets is cpuset_node_allowed(), which optimizes on the fact if there's a single root CPU set, it must be trivially allowed. But the check "nr_cpusets() <= 1" doesn't use the cpusets_enabled_key static ke

[PATCH 26/28] cpuset: use static key better and convert to new API

2016-04-15 Thread Mel Gorman
From: Vlastimil Babka An important function for cpusets is cpuset_node_allowed(), which optimizes on the fact if there's a single root CPU set, it must be trivially allowed. But the check "nr_cpusets() <= 1" doesn't use the cpusets_enabled_key static key the right way where static keys eliminate