compute_effective_nodemask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… compute_effective_nodemask(9) πŸ’…

okay so bestie, welcome to the page for compute_effective_nodemask(9) from the Kernel API Manual β€” yes, we’re doing cpuset nodemask lore today and it’s lowkey iconic. ✨


🌸 NAME 🌸

compute_effective_nodemask β€” compute the effective nodemask of the cpuset. That’s the name, that’s the mission, no cap. πŸ’–

✨ SYNOPSIS ✨

Here’s the exact signature, bestie β€” don’t let the line break scare you:

void compute_effective_nodemask (nodemask_t *new_mems , struct cpuset
*cs , struct cpuset *parent );

🫢 ARGUMENTS 🫢

  • new_mems β€” the temp variable for the new effective_mems mask. It’s where the new mask goes to hang out. πŸ’…
  • cs β€” the cpuset that needs to recompute the new effective_mems mask. Main character cpuset energy. πŸ‘‘
  • parent β€” the parent cpuset. Yep, the parent. Family tree tea. 🌳

πŸ’– DESCRIPTION πŸ’–

For v2: if nodemask is empty, the parent’s effective_mems is inherited. That’s the whole rule β€” when the nodemask is empty, inherited parent effective_mems is the vibe. πŸ«–βœ¨

πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./kernel/cgroup/cpuset.c β€” that’s the spot. The whole cpuset crew is here:

source/version: ./kernel/cgroup β€’ date: October 2026 β€” mwah, bestie, go recompute those nodemasks πŸ’…πŸ’–

πŸ“¦ where this page comes from