cpu_rmap_update(9)
π 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 π
alloc_cpu_rmap(9)cpu_rmap_release(9)cpu_rmap_get(9)cpu_rmap_put(9)cpu_rmap_add(9)free_irq_cpu_rmap(9)irq_cpu_rmap_notify(9)irq_cpu_rmap_release(9)irq_cpu_rmap_remove(9)irq_cpu_rmap_add(9)
bestie reminder: this page is from./lib, dated October 2026, and its title is literallycpu_rmap_update(9)β that's the whole footer, and honestly? iconic. ππβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms