diff options
author | 2025-02-25 10:37:42 +0100 | |
---|---|---|
committer | 2025-02-25 08:35:53 -1000 | |
commit | fde7d64766c1142fe79507bbef4968cee274cc0b (patch) | |
tree | ab6ff60f21eaffa765c993194665115eb047a081 /scripts/generate_rust_analyzer.py | |
parent | sched_ext: idle: Introduce scx_bpf_nr_node_ids() (diff) | |
download | wireguard-linux-fde7d64766c1142fe79507bbef4968cee274cc0b.tar.xz wireguard-linux-fde7d64766c1142fe79507bbef4968cee274cc0b.zip |
sched_ext: idle: Fix scx_bpf_pick_any_cpu_node() behavior
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@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions