]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sched: fix load scaling in group balancing
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 27 Jun 2008 11:41:29 +0000 (13:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 12:31:41 +0000 (14:31 +0200)
commit42a3ac7d5cee89849448b41b86faeb86f98e92f6
treea601a02fd090b6da93b81ef9857133b8de7b5079
parent408ed066b11cf9ee4536573b4269ee3613bd735e
sched: fix load scaling in group balancing

doing the load balance will change cfs_rq->load.weight (that's the whole point)
but since that's part of the scale factor, we'll scale back with a different
amount.

Weight getting smaller would result in an inflated moved_load which causes
it to stop balancing too soon.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c