irq_cpu_rmap_notify(9)
π irq_cpu_rmap_notify(9) β from the Kernel API Manual, bestie β¨
okay so picture this: it's a kernel API manual page, the vibes are immaculate, and this function is literally the notification girlie of the IRQ subsystem. iykyk π
πΈ NAME πΈ
irq_cpu_rmap_notify β the callback for the IRQ subsystem that fires when IRQ affinity gets updated π
like, when the affinity changes, she knows. no cap.
β¨ SYNOPSIS β¨
void irq_cpu_rmap_notify (struct irq_affinity_notify *notify , const
cpumask_t *mask );
that's the whole signature, bestie β void return, two args, we move π«Ά
π¦ ARGUMENTS π¦
notifyβ astruct irq_affinity_notifythat got passed along byirq/manage.cπ¬ like, it literally came from there. that's the source.maskβ the cpu mask for the new SMP affinity π― so you know exactly which cpus are the main characters now.
π DESCRIPTION π
hiii so quick heads up: this whole thing runs in workqueue context. yes, workqueue context. not interrupt context, not your girl's DMs, workqueue. write that down πβ¨
π₯ SEE ALSO π₯
the kernel file ./lib/cpu_rmap.c is where the family lives, and honestly the whole friend group is iconic:
alloc_cpu_rmap(9)cpu_rmap_release(9)cpu_rmap_get(9)cpu_rmap_put(9)cpu_rmap_add(9)cpu_rmap_update(9)free_irq_cpu_rmap(9)irq_cpu_rmap_release(9)irq_cpu_rmap_remove(9)irq_cpu_rmap_add(9)
go read them, they ate π π
ngl this page is short but she's perfect. no notes. go forth and notify responsibly π§ββοΈ
and that's a wrap, bestie!! π this lil page came from ./lib, dated October 2026, and it's filed under irq_cpu_rmap_notify(9) β screenshot it, memorize it, slay the kernel ππ
π¦ 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