scx_bpf_get_online_cpumask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– scx_bpf_get_online_cpumask(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this page is literally scx_bpf_get_online_cpumask(9), and it’s a short one, so we can absolutely devour it. πŸ’…βœ¨


🌸 NAME 🌸

scx_bpf_get_online_cpumask β€” get a referenced kptr to cpu_online_mask 🫢

✨ SYNOPSIS ✨

the whole signature, copied exactly because we do not play with code, periodt:

__bpf_kfunc const struct cpumask * scx_bpf_get_online_cpumask (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. literally none, bestie. the vibe is β€œtakes nothing” and that’s it. πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./kernel/sched/ext/ext.c β€” and the whole friend group is below, bestie. πŸ’–


mwah! πŸ’‹ this page’s source/version is ./kernel/sched/ext, the date is October 2026, and it’s scx_bpf_get_online_cpumask(9) signing off. bye bestie! 🫢✨

πŸ“¦ where this page comes from