diff options
| author | 2026-09-25 16:46:04 +0200 | |
|---|---|---|
| committer | 2026-09-26 09:31:35 -1000 | |
| commit | 5cadf7545cc6528cc41d9d8dac52faf331cbc878 (patch) | |
| tree | 73f5ad1b35f26f1c9ce1c2f660b1223e70d17a05 /scripts/Makefile.thinlto | |
| parent | sched_ext: Test scx_has_subs() inline before calling sub-sched hooks (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
