Re: [RFC PATCH v7 08/23] sched: Add core wide task selection and scheduling.
From: Peter Zijlstra
Date: Fri Aug 28 2020 - 16:56:10 EST
On Fri, Aug 28, 2020 at 03:51:09PM -0400, Julien Desfossez wrote:
> + if (is_idle_task(rq_i->core_pick) && rq_i->nr_running)
> + rq_i->core_forceidle = true;
Did you mean: rq_i->core_pick == rq_i->idle ?
is_idle_task() will also match idle-injection threads, which I'm not
sure we want here.