cpu_rmap_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpu_rmap_update(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual, section 9 β€” yes we're in the kernel-functions chapter, get comfy 🫢


✨ NAME ✨

cpu_rmap_update β€” update CPU rmap following a change of object affinity

like, your object changed its whole personality (CPU-wise) and now the rmap needs to know about it. it's giving "moving to a new city and updating your address" energy πŸ¦‹


🌸 SYNOPSIS 🌸

int cpu_rmap_update (struct cpu_rmap *rmap , u16 index , const struct
cpumask *affinity );

that's the whole incantation, fr fr β€” copy it exactly, no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • rmap β€” the CPU rmap you're updating. this is the main character of the operation πŸ‘‘
  • index β€” index of the object whose affinity changed. i.e. which object decided to switch things up 😭
  • affinity β€” the new CPU affinity of that object. the fresh new vibe check it's bringing ✨

πŸ”₯ SEE ALSO πŸ”₯

kernel file ./lib/cpu_rmap.c β€” go read the source, it eats πŸ’€


bestie reminder: this page is from ./lib, dated October 2026, and its title is literally cpu_rmap_update(9) β€” that's the whole footer, and honestly? iconic. πŸŒˆπŸ’–βœ¨
πŸ“¦ where this page comes from