sched: fix sched_balance_self() smp group balancing
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 27 Jun 2008 11:41:25 +0000 (13:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 12:31:38 +0000 (14:31 +0200)
commit039a1c41b3a489e34593ea1e1687f6fdad6b13ab
tree162e9b0b7a2472be292089bf4f84623bdc6f34ab
parent3e5459b4bea3ca2618cc02d56d12639f2cba531d
sched: fix sched_balance_self() smp group balancing

Finding the least idle cpu is more accurate when done with updated shares.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c