]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: hierarchical load vs find_busiest_group
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 27 Jun 2008 11:41:28 +0000 (13:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 12:31:40 +0000 (14:31 +0200)
commit408ed066b11cf9ee4536573b4269ee3613bd735e
tree3b1367dafc96835c2fcbf289a7af808eb2efa605
parentbb3469ac9b50f14ad6eba129ca0ad4fd033097a0
sched: hierarchical load vs find_busiest_group

find_busiest_group() has some assumptions about task weight being in the
NICE_0_LOAD range. Hierarchical task groups break this assumption - fix this
by replacing it with the average task weight, which will adapt the situation.

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