Re: [PATCH] sched: Fix task_h_load calculation

2013-09-14 Thread Paul Turner
On Sat, Sep 14, 2013 at 8:39 AM, Vladimir Davydov wrote: > 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-cgro

[PATCH] sched: Fix task_h_load calculation

2013-09-14 Thread Vladimir Davydov
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