[RFC PATCHSET v2] sched/fair: fix load balancer behavior when cgroup is in use

From: Tejun Heo
Date: Thu May 04 2017 - 16:28:46 EST


v1 posting can be found at


The patchset is still RFC and based on v4.11. I used Peter's updated
calc_cfs_shares() instead of scaling manually and updated so that
runnable_load_avg is propagated independently from load_avg. Due to
the way sched_entity and cfs_rq loads are calculated, this requires an
extra runnable_load_avg calculation for group sched_entities, but the
end result is cleaner and actually makes sense.

Vincent, can you please verify whether the regression that you see is
gone with this version?