[PATCH 06/15] sched,cfs: use explicit cfs_rq of parent se helper

2019-09-06 Thread Rik van Riel
Use an explicit "cfs_rq of parent sched_entity" helper in a few strategic places, where cfs_rq_of(se) may no longer point at the right runqueue once we flatten the hierarchical cgroup runqueues. No functional change. Signed-off-by: Rik van Riel --- kernel/sched/fair.c | 17 + 1

Re: [PATCH 06/15] sched,cfs: use explicit cfs_rq of parent se helper

2019-08-28 Thread Vincent Guittot
On Wed, 28 Aug 2019 at 17:28, Rik van Riel wrote: > > On Wed, 2019-08-28 at 15:53 +0200, Vincent Guittot wrote: > > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > > Use an explicit "cfs_rq of parent sched_entity" helper in a few > > > strategic places, where cfs_rq_of(se) may no longer

Re: [PATCH 06/15] sched,cfs: use explicit cfs_rq of parent se helper

2019-08-28 Thread Rik van Riel
On Wed, 2019-08-28 at 15:53 +0200, Vincent Guittot wrote: > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > Use an explicit "cfs_rq of parent sched_entity" helper in a few > > strategic places, where cfs_rq_of(se) may no longer point at the > > The only case is the sched_entity of a task

Re: [PATCH 06/15] sched,cfs: use explicit cfs_rq of parent se helper

2019-08-28 Thread Vincent Guittot
On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > Use an explicit "cfs_rq of parent sched_entity" helper in a few > strategic places, where cfs_rq_of(se) may no longer point at the The only case is the sched_entity of a task which will point to root cfs, isn't it ? > right runqueue once we

[PATCH 06/15] sched,cfs: use explicit cfs_rq of parent se helper

2019-08-21 Thread Rik van Riel
Use an explicit "cfs_rq of parent sched_entity" helper in a few strategic places, where cfs_rq_of(se) may no longer point at the right runqueue once we flatten the hierarchical cgroup runqueues. No functional change. Signed-off-by: Rik van Riel --- kernel/sched/fair.c | 17 + 1