Re: [PATCH 10/10] sched,fair: flatten hierarchical runqueues

2019-07-01 Thread Rik van Riel
On Mon, 2019-07-01 at 16:34 -0400, Josef Bacik wrote: > On Fri, Jun 28, 2019 at 04:49:13PM -0400, Rik van Riel wrote: > > @@ -2703,16 +2716,28 @@ static inline void > > update_scan_period(struct task_struct *p, int new_cpu) > > static void > > account_entity_enqueue(struct cfs_rq *cfs_rq, struct

Re: [PATCH 10/10] sched,fair: flatten hierarchical runqueues

2019-07-01 Thread Josef Bacik
On Fri, Jun 28, 2019 at 04:49:13PM -0400, Rik van Riel wrote: > Flatten the hierarchical runqueues into just the per CPU rq.cfs runqueue. > > Iteration of the sched_entity hierarchy is rate limited to once per jiffy > per sched_entity, which is a smaller change than it seems, because load > averag

[PATCH 10/10] sched,fair: flatten hierarchical runqueues

2019-06-28 Thread Rik van Riel
Flatten the hierarchical runqueues into just the per CPU rq.cfs runqueue. Iteration of the sched_entity hierarchy is rate limited to once per jiffy per sched_entity, which is a smaller change than it seems, because load average adjustments were already rate limited to once per jiffy before this pa