From: Peter Zijlstra Date: Fri, 27 Jun 2008 11:41:23 +0000 (+0200) Subject: sched: simplify the group load balancer X-Git-Tag: v2.6.27-rc1~1105^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8cba857b4997d5b00451d01474638f6a153f713;p=pandora-kernel.git sched: simplify the group load balancer While thinking about the previous patch - I realized that using per domain aggregate load values in load_balance_fair() is wrong. We should use the load value for that CPU. By not needing per domain hierarchical load values we don't need to store per domain aggregate shares, which greatly simplifies all the math. It basically falls apart in two separate computations: - per domain update of the shares - per CPU update of the hierarchical load Also get rid of the move_group_shares() stuff - just re-compute the shares again after a successful load balance. Signed-off-by: Peter Zijlstra Cc: Srivatsa Vaddagiri Cc: Mike Galbraith Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed