scx_bpf_cpu_node(9)
β¨ scx_bpf_cpu_node(9) β Kernel API Manual, section 9 β¨
okay so welcome to the scx_bpf_cpu_node(9) page, bestie β itβs giving Kernel API Manual, section 9, and itβs a short one. Letβs get into it π«Ά
πΈ NAME πΈ
scx_bpf_cpu_node β Return the NUMA node the given @cpu belongs to, or trigger an error if @cpu is invalid π
π¦ SYNOPSIS π¦
__bpf_kfunc s32 scx_bpf_cpu_node (s32 cpu , const struct bpf_prog_aux
*aux );
π ARGUMENTS π
cpuβ target CPU π―auxβ implicit BPF argument to accessbpf_prog_auxhidden from BPF progs π
π«Ά SEE ALSO π«Ά
Kernel file: ./kernel/sched/ext/idle.c β thatβs the spot. The whole friend group is here too, no cap:
scx_bpf_select_cpu_dfl(9)__scx_bpf_select_cpu_and(9)scx_bpf_get_idle_cpumask_node(9)scx_bpf_get_idle_cpumask(9)scx_bpf_get_idle_smtmask_node(9)scx_bpf_get_idle_smtmask(9)scx_bpf_put_idle_cpumask(9)scx_bpf_test_and_clear_cpu_idle(9)scx_bpf_pick_idle_cpu_node(9)scx_bpf_pick_idle_cpu(9)scx_bpf_pick_any_cpu_node(9)scx_bpf_pick_any_cpu(9)
xoxo, bestie π β source/version: ./kernel/sched/ext; date: October 2026; page: scx_bpf_cpu_node(9) β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms