update_cpumask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is update_cpumask from the Kernel API Manual, and it does exactly what the name says: update the cpus_allowed mask of a cpuset and all tasks in it. that’s the whole vibe, no cap ✨


✨ SYNOPSIS ✨

here’s the exact signature, bestie β€” keep the spaces and the line break exactly as they are, do not β€œfix” them, i’m begging:

int update_cpumask (struct cpuset *cs , struct cpuset *trialcs , const
       char *buf );

πŸŽ€ ARGUMENTS πŸŽ€

  • cs β€” the cpuset to consider. like, the one we’re looking at πŸ‘€
  • trialcs β€” trial cpuset. yes, a trial cpuset, very demure, very mindful πŸŽ€
  • buf β€” buffer of cpu numbers written to this cpuset. raw cpu numbers, no extra commentary πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the kernel file is ./kernel/cgroup/cpuset.c β€” that’s the spot, bestie. and here’s the whole see-also friend group, all listed exactly as the original says:

xoxo, your girlie in the ./kernel/cgroup corner of the Kernel API Manual, dated October 2026, signing off on update_cpumask(9) β€” mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from