scx_bpf_cpu_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 access bpf_prog_aux hidden 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:

xoxo, bestie πŸ’– β€” source/version: ./kernel/sched/ext; date: October 2026; page: scx_bpf_cpu_node(9) ✨

πŸ“¦ where this page comes from