Re: [PATCH 1/3] sched: remove select_idle_core() for scalability

From: Peter Zijlstra
Date: Tue May 01 2018 - 14:04:10 EST


On Mon, Apr 30, 2018 at 04:38:42PM -0700, Subhra Mazumdar wrote:
> I also noticed a possible bug later in the merge code. Shouldn't it be:
>
> if (busy < best_busy) {
>         best_busy = busy;
>         best_cpu = first_idle;
> }

Uhh, quite. I did say it was completely untested, but yes.. /me dons the
brown paper bag.