Re: [PATCH] sched_ext: idle: Fix return code of scx_select_cpu_dfl()

From: Tejun Heo
Date: Wed Mar 26 2025 - 16:08:40 EST


On Wed, Mar 26, 2025 at 08:18:49PM +0100, Andrea Righi wrote:
> Return -EBUSY when using %SCX_PICK_IDLE_CORE with scx_select_cpu_dfl()
> if a fully idle SMT core cannot be found, instead of falling back to
> @prev_cpu, which is not a fully idle SMT core in this case.
>
> Fixes: c414c2171cd9e ("sched_ext: idle: Honor idle flags in the built-in idle selection policy")
> Signed-off-by: Andrea Righi <arighi@xxxxxxxxxx>

Applied to sched_ext/for-6.15-fixes.

Thanks.

--
tejun