Re: [PATCH 03/10] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-07-01 Thread Rik van Riel
On Mon, 2019-07-01 at 15:22 -0400, Josef Bacik wrote: > On Mon, Jul 01, 2019 at 12:47:35PM -0400, Rik van Riel wrote: > > On Mon, 2019-07-01 at 12:29 -0400, Josef Bacik wrote: > > > > > > My memory on this stuff is very hazy, but IIRC we had the > > > runnable_sum and the > > > runnable_avg separa

Re: [PATCH 03/10] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-07-01 Thread Josef Bacik
On Mon, Jul 01, 2019 at 12:47:35PM -0400, Rik van Riel wrote: > On Mon, 2019-07-01 at 12:29 -0400, Josef Bacik wrote: > > On Fri, Jun 28, 2019 at 04:49:06PM -0400, Rik van Riel wrote: > > > The runnable_load magic is used to quickly propagate information > > > about > > > runnable tasks up the hier

Re: [PATCH 03/10] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-07-01 Thread Rik van Riel
On Mon, 2019-07-01 at 12:29 -0400, Josef Bacik wrote: > On Fri, Jun 28, 2019 at 04:49:06PM -0400, Rik van Riel wrote: > > The runnable_load magic is used to quickly propagate information > > about > > runnable tasks up the hierarchy of runqueues. The runnable_load_avg > > is > > mostly used for the

Re: [PATCH 03/10] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-07-01 Thread Josef Bacik
On Fri, Jun 28, 2019 at 04:49:06PM -0400, Rik van Riel wrote: > The runnable_load magic is used to quickly propagate information about > runnable tasks up the hierarchy of runqueues. The runnable_load_avg is > mostly used for the load balancing code, which only examines the value at > the root cfs_

[PATCH 03/10] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-06-28 Thread Rik van Riel
The runnable_load magic is used to quickly propagate information about runnable tasks up the hierarchy of runqueues. The runnable_load_avg is mostly used for the load balancing code, which only examines the value at the root cfs_rq. Redefine the root cfs_rq runnable_load_avg to be the sum of task_