On Fri, Aug 28, 2020 at 03:51:09PM -0400, Julien Desfossez wrote:Thanks for catching this. You are right, we should be checking for
+ if (is_idle_task(rq_i->core_pick) && rq_i->nr_running)Did you mean: rq_i->core_pick == rq_i->idle ?
+ rq_i->core_forceidle = true;
is_idle_task() will also match idle-injection threads, which I'm not
sure we want here.