pcpu_need_numa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to pcpu_need_numa(9) from the Kernel API Manual β€” this one is short, sweet, and lowkey iconic πŸ’…


✨ NAME ✨

pcpu_need_numa β€” determine percpu allocation needs to consider NUMA


πŸŽ€ SYNOPSIS πŸŽ€

bool pcpu_need_numa (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments, bestie. none. zero. nada. 🫢

🌸 DESCRIPTION 🌸

okay so here's the vibe check: if NUMA is not configured, or there is only one NUMA node available, there is literally no reason to consider NUMA. like why would we 😭

This function determines whether percpu allocation should consider NUMA or not. that's it, that's the whole job πŸ‘‘


⭐ RETURN ⭐

  • true if NUMA should be considered
  • otherwise, false

periodt πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./arch/x86/kernel/setup_percpu.c

iykyk 🧚


made with πŸ’– from the ./arch/x86/kernel source/version, dated October 2026 β€” catch u later, bestie 🫢✨

πŸ“¦ where this page comes from