cpuset_nodem...mems_allowed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpuset_nodem...mems_allowed(9) β€” Kernel API Manual, bestie edition πŸŽ€

okay so this is one of those tiny kernel helpers that lowkey does exactly one thing and does it slay. it lives in the Kernel API Manual, and it's basically a vibe check for NUMA nodes ✨


✨ NAME ✨

cpuset_nodemask_valid_mems_allowed β€” check nodemask vs. current mems_allowed πŸ¦‹


🌸 SYNOPSIS 🌸

int cpuset_nodemask_valid_mems_allowed (const nodemask_t *nodemask );

πŸ’– ARGUMENTS πŸ’–

  • nodemask β€” the nodemask to be checked πŸ‘€ like, the actual list of nodes you're asking about

πŸ‘‘ DESCRIPTION πŸ‘‘

Are any of the nodes in the nodemask allowed in current->mems_allowed?

that's it. that's the whole function. it's giving "one question, one answer, no notes" πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./kernel/cgroup/cpuset.c plus the whole friend group:

like yes that's a lot of them but they're all iconic in their own way, no cap 🫢


ngl bestie, if you were looking for a dramatic plot twist, this is not that page β€” it's a one-line boolean-ish check and it ate. periodt πŸ’€

kisses, this page came from the ./kernel/cgroup source, dated October 2026 β€” mwah πŸ’‹ see u in the next manpage, iykyk 🌈⭐

πŸ“¦ where this page comes from