Re: [PATCH] sched/fair: consider sched-idle CPU when selecting idle core

2020-07-24 Thread Jiang Biao
On Fri, 24 Jul 2020 at 20:36, Ingo Molnar wrote: > > > * Jiang Biao wrote: > > > On Fri, 24 Jul 2020 at 18:34, Vincent Guittot > > wrote: > > > > > > On Fri, 24 Jul 2020 at 10:12, Jiang Biao wrote: > > > > > > > > On Fri, 24 Jul 2020 at 15:24, Vincent Guittot > > > > wrote: > > > > > > > > >

Re: [PATCH] sched/fair: consider sched-idle CPU when selecting idle core

2020-07-24 Thread Ingo Molnar
* Jiang Biao wrote: > On Fri, 24 Jul 2020 at 18:34, Vincent Guittot > wrote: > > > > On Fri, 24 Jul 2020 at 10:12, Jiang Biao wrote: > > > > > > On Fri, 24 Jul 2020 at 15:24, Vincent Guittot > > > wrote: > > > > > > > > On Fri, 24 Jul 2020 at 01:39, Jiang Biao wrote: > > > > > > > > > >

Re: [PATCH] sched/fair: consider sched-idle CPU when selecting idle core

2020-07-24 Thread Jiang Biao
On Fri, 24 Jul 2020 at 18:34, Vincent Guittot wrote: > > On Fri, 24 Jul 2020 at 10:12, Jiang Biao wrote: > > > > On Fri, 24 Jul 2020 at 15:24, Vincent Guittot > > wrote: > > > > > > On Fri, 24 Jul 2020 at 01:39, Jiang Biao wrote: > > > > > > > > From: Jiang Biao > > > > > > > > Sched-idle CPU

Re: [PATCH] sched/fair: consider sched-idle CPU when selecting idle core

2020-07-24 Thread Vincent Guittot
On Fri, 24 Jul 2020 at 10:12, Jiang Biao wrote: > > On Fri, 24 Jul 2020 at 15:24, Vincent Guittot > wrote: > > > > On Fri, 24 Jul 2020 at 01:39, Jiang Biao wrote: > > > > > > From: Jiang Biao > > > > > > Sched-idle CPU has been considered in select_idle_cpu and > > > select_idle_smt, it also

Re: [PATCH] sched/fair: consider sched-idle CPU when selecting idle core

2020-07-24 Thread Jiang Biao
On Fri, 24 Jul 2020 at 15:24, Vincent Guittot wrote: > > On Fri, 24 Jul 2020 at 01:39, Jiang Biao wrote: > > > > From: Jiang Biao > > > > Sched-idle CPU has been considered in select_idle_cpu and > > select_idle_smt, it also needs to be considered in select_idle_core to > > be consistent and

Re: [PATCH] sched/fair: consider sched-idle CPU when selecting idle core

2020-07-24 Thread Vincent Guittot
On Fri, 24 Jul 2020 at 01:39, Jiang Biao wrote: > > From: Jiang Biao > > Sched-idle CPU has been considered in select_idle_cpu and > select_idle_smt, it also needs to be considered in select_idle_core to > be consistent and keep the same *idle* policy. In the case of select_idle_core, we are

[PATCH] sched/fair: consider sched-idle CPU when selecting idle core

2020-07-23 Thread Jiang Biao
From: Jiang Biao Sched-idle CPU has been considered in select_idle_cpu and select_idle_smt, it also needs to be considered in select_idle_core to be consistent and keep the same *idle* policy. Signed-off-by: Jiang Biao --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2