Re: [PATCH sched_ext/for-6.15] sched_ext: idle: Fix scx_bpf_pick_any_cpu_node() behavior
From: Tejun Heo
Date: Tue Feb 25 2025 - 13:43:00 EST
On Tue, Feb 25, 2025 at 10:37:42AM +0100, Andrea Righi wrote:
> When %SCX_PICK_IDLE_IN_NODE is specified, scx_bpf_pick_any_cpu_node()
> should always return a CPU from the specified node, regardless of its
> idle state.
>
> Also clarify this logic in the function documentation.
>
> Fixes: 01059219b0cfd ("sched_ext: idle: Introduce node-aware idle cpu kfunc helpers")
> Signed-off-by: Andrea Righi <arighi@xxxxxxxxxx>
Applied to sched_ext/for-6.15.
Thanks.
--
tejun