Re: [PATCH 05/10] sched,fair: remove cfs rqs from leaf_cfs_rq_list bottom up

2019-07-04 Thread Rik van Riel
On Thu, 2019-07-04 at 11:33 +0200, Vincent Guittot wrote: > On Fri, 28 Jun 2019 at 22:49, Rik van Riel wrote: > > Reducing the overhead of the CPU controller is achieved by not > > walking > > all the sched_entities every time a task is enqueued or dequeued. > > @@ -7687,6 +7700,10 @@ static

Re: [PATCH 05/10] sched,fair: remove cfs rqs from leaf_cfs_rq_list bottom up

2019-07-04 Thread Vincent Guittot
On Fri, 28 Jun 2019 at 22:49, Rik van Riel wrote: > > Reducing the overhead of the CPU controller is achieved by not walking > all the sched_entities every time a task is enqueued or dequeued. > > One of the things being checked every single time is whether the cfs_rq > is on the

[PATCH 05/10] sched,fair: remove cfs rqs from leaf_cfs_rq_list bottom up

2019-06-28 Thread Rik van Riel
Reducing the overhead of the CPU controller is achieved by not walking all the sched_entities every time a task is enqueued or dequeued. One of the things being checked every single time is whether the cfs_rq is on the rq->leaf_cfs_rq_list. By only removing a cfs_rq from the list once it no