sched: Always initialize cpu-power
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 31 May 2012 10:05:32 +0000 (12:05 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 14:52:27 +0000 (16:52 +0200)
commitc3decf0dfbc95736b7c0ab68fa4e5854c4734da9
treec21748af2b4c7e4b738cefd2076c1ccc6ed2c664
parentc1174876874dcf8986806e4dad3d7d07af20b439
sched: Always initialize cpu-power

Often when we run into mis-shapen topologies the balance iteration
fails to update the cpu power properly and we'll end up in /0 traps.

Always initialize the cpu-power to a semi-sane value so that we can
at least boot the machine, even if the load-balancer might not
function correctly.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-3lbhyj25sr169ha7z3qht5na@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/fair.c