diff options
author | 2025-02-24 17:49:21 +0100 | |
---|---|---|
committer | 2025-02-24 07:37:42 -1000 | |
commit | 0e9b4c10e833dbcfcdba63497463f1272c5efe4d (patch) | |
tree | e1f09a4f9a45371d10f420796b9d96faf0aacaf8 /scripts/generate_rust_analyzer.py | |
parent | sched_ext: idle: Introduce node-aware idle cpu kfunc helpers (diff) | |
download | wireguard-linux-0e9b4c10e833dbcfcdba63497463f1272c5efe4d.tar.xz wireguard-linux-0e9b4c10e833dbcfcdba63497463f1272c5efe4d.zip |
sched_ext: idle: Introduce scx_bpf_nr_node_ids()
Similarly to scx_bpf_nr_cpu_ids(), introduce a new kfunc
scx_bpf_nr_node_ids() to expose the maximum number of NUMA nodes in the
system.
BPF schedulers can use this information together with the new node-aware
kfuncs, for example to create per-node DSQs, validate node IDs, etc.
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