diff options
| author | Andrea Righi <arighi@nvidia.com> | 2026-09-25 16:46:04 +0200 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-09-26 09:31:35 -1000 |
| commit | 5cadf7545cc6528cc41d9d8dac52faf331cbc878 (patch) | |
| tree | 73f5ad1b35f26f1c9ce1c2f660b1223e70d17a05 /tools/perf/python/stackcollapse.py | |
| parent | 7a919c7f86de8a0bbfd5da4eacdb67833dfe3e5a (diff) | |
| download | linux-next-5cadf7545cc6528cc41d9d8dac52faf331cbc878.tar.gz linux-next-5cadf7545cc6528cc41d9d8dac52faf331cbc878.zip | |
sched_ext: Add a CID NUMA node lookup kfunc
CID-form schedulers may need the physical NUMA node for a CID, for
example to allocate arena memory on that node.
The CID topology's node index is not a physical NUMA node ID, and
scx_bpf_cpu_node() is restricted to CPU-form schedulers.
Add scx_bpf_cid_node() to return the physical NUMA node for a CID and
provide a compatibility helper that returns NUMA_NO_NODE on kernels
without this kfunc.
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
