Re: Re: [RFC PATCH 1/2] Revert "sched/fair: Make sched-idle CPU selection consistent throughout"

From: Abel Wu
Date: Thu Mar 20 2025 - 10:37:12 EST


On 3/19/25 6:58 PM, Vincent Guittot wrote:
On Wed, 19 Mar 2025 at 11:36, Abel Wu <wuyun.abel@xxxxxxxxxxxxx> wrote:

What do you think to choose a less loaded cpu if no idle ones available?
So the wakee will probably get better served, and also helps load balance.

I'm not a fan of adding more than idle selection and we already
compared load in wake_affine.
So we should only look at a cpu that we can preempt immediately: idle
cpus or cpus with full hierarchy sched idle entities

OK, I will have a try. Thanks!