Re: [RFC PATCH] sched: Simplify leaf_cfs_rq_list maintenance

2021-03-08 Thread Dietmar Eggemann
Hi Michal, On 25/02/2021 17:27, Michal Koutný wrote: > leaf_cfs_rq_list should contain cfs_rqs that have runnable entities in > them. When we're operating under a throttled hierarchy we always update > the leaf_cfs_rq_list in order no to break list_add_leaf_cfs_rq invariant > of adding complete

[RFC PATCH] sched: Simplify leaf_cfs_rq_list maintenance

2021-02-25 Thread Michal Koutný
leaf_cfs_rq_list should contain cfs_rqs that have runnable entities in them. When we're operating under a throttled hierarchy we always update the leaf_cfs_rq_list in order no to break list_add_leaf_cfs_rq invariant of adding complete branches. This caused troubles when an entity became runnable