sched: Fix the sched group node allocation for SD_OVERLAP domains
authorSuresh Siddha <suresh.b.siddha@intel.com>
Fri, 18 Nov 2011 23:03:29 +0000 (15:03 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 6 Dec 2011 08:06:26 +0000 (09:06 +0100)
commit4d78a2239e393f09e0964a2f8da394cc91d75155
treeecc8ea8de1baa21cedf6b90d32c39fc2fe7bfeff
parent916671c08b7808aebec87cc56c85788e665b3c6b
sched: Fix the sched group node allocation for SD_OVERLAP domains

For the SD_OVERLAP domain, sched_groups for each CPU's sched_domain are
privately allocated and not shared with any other cpu. So the
sched group allocation should come from the cpu's node for which
SD_OVERLAP sched domain is being setup.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20111118230554.164910950@sbsiddha-desk.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched/core.c