sched: Break out cpu_power from the sched_group structure
commit9c3f75cbd144014bea6af866a154cc2e73ab2287
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 14 Jul 2011 11:00:06 +0000 (14 13:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 20 Jul 2011 16:32:40 +0000 (20 18:32 +0200)
tree2a565f7ff0820269973415c5605e313cfff903b4
parente6625fa48e6580a74b7e700efd7e6463e282810b
sched: Break out cpu_power from the sched_group structure

In order to prepare for non-unique sched_groups per domain, we need to
carry the cpu_power elsewhere, so put a level of indirection in.

Reported-and-tested-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-qkho2byuhe4482fuknss40ad@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched.c
kernel/sched_fair.c