Re: [PATCH 2/5] sched/fair: rename sum_nr_running to sum_h_nr_running

2019-07-26 Thread Vincent Guittot
On Fri, 26 Jul 2019 at 04:17, Srikar Dronamraju wrote: > > * Vincent Guittot [2019-07-19 09:58:22]: > > > sum_nr_running will track rq->nr_running task and sum_h_nr_running > > will track cfs->h_nr_running so we can use both to detect when other > > scheduling class are running and preempt CFS.

Re: [PATCH 2/5] sched/fair: rename sum_nr_running to sum_h_nr_running

2019-07-25 Thread Srikar Dronamraju
* Vincent Guittot [2019-07-19 09:58:22]: > sum_nr_running will track rq->nr_running task and sum_h_nr_running > will track cfs->h_nr_running so we can use both to detect when other > scheduling class are running and preempt CFS. > > There is no functional changes. > > Signed-off-by: Vincent

Re: [PATCH 2/5] sched/fair: rename sum_nr_running to sum_h_nr_running

2019-07-19 Thread Vincent Guittot
On Fri, 19 Jul 2019 at 14:51, Peter Zijlstra wrote: > > On Fri, Jul 19, 2019 at 09:58:22AM +0200, Vincent Guittot wrote: > > sum_nr_running will track rq->nr_running task and sum_h_nr_running > > will track cfs->h_nr_running so we can use both to detect when other > > scheduling class are running

Re: [PATCH 2/5] sched/fair: rename sum_nr_running to sum_h_nr_running

2019-07-19 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 09:58:22AM +0200, Vincent Guittot wrote: > sum_nr_running will track rq->nr_running task and sum_h_nr_running > will track cfs->h_nr_running so we can use both to detect when other > scheduling class are running and preempt CFS. > > There is no functional changes. > >

[PATCH 2/5] sched/fair: rename sum_nr_running to sum_h_nr_running

2019-07-19 Thread Vincent Guittot
sum_nr_running will track rq->nr_running task and sum_h_nr_running will track cfs->h_nr_running so we can use both to detect when other scheduling class are running and preempt CFS. There is no functional changes. Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 31