]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f12c3f27de484403eb31d4bcf2c4b988a9802a2
treec21748af2b4c7e4b738cefd2076c1ccc6ed2c664
parent5457098cf890e884d34df8463cedadc5f97ce004
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