diff options
author | Vladimir Davydov <[email protected]> | 2013-09-14 19:39:46 +0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-09-20 11:59:39 +0200 |
commit | 7e3115ef5149fc502e3a2e80719dba54a8e7409d (patch) | |
tree | 48d20522106c153c20cb813531ad05dc8027b589 /lib | |
parent | 3029ede39373c368f402a76896600d85a4f7121b (diff) |
sched/balancing: Fix cfs_rq->task_h_load calculation
Patch a003a2 (sched: Consider runnable load average in move_tasks())
sets all top-level cfs_rqs' h_load to rq->avg.load_avg_contrib, which is
always 0. This mistype leads to all tasks having weight 0 when load
balancing in a cpu-cgroup enabled setup. There obviously should be sum
of weights of all runnable tasks there instead. Fix it.
Signed-off-by: Vladimir Davydov <[email protected]>
Reviewed-by: Paul Turner <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions