diff options
author | Andrea Righi <arighi@nvidia.com> | 2025-02-24 17:49:21 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-02-24 07:37:42 -1000 |
commit | 0e9b4c10e833dbcfcdba63497463f1272c5efe4d (patch) | |
tree | e1f09a4f9a45371d10f420796b9d96faf0aacaf8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 01059219b0cfdb9fc0d5bd60458e614a3135e6e7 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions