irq_cpu_rmap_add(9)
Hiiii bestie!! π This is the irq_cpu_rmap_add(9) page from the Kernel API Manual, and it's literally about adding an IRQ to a CPU affinity reverse-map. No cap, it's giving "plumbing but make it cute" energy. π«Ά
β¨ NAME β¨
irq_cpu_rmap_add β add an IRQ to a CPU affinity reverse-map π
πΈ SYNOPSIS πΈ
int irq_cpu_rmap_add (struct cpu_rmap *rmap , int irq );
π ARGUMENTS π
rmapβ The reverse-map. That's the whole vibe. πΊοΈirqβ The IRQ number. The little number that says which interrupt we're talking about. π’
π¦ DESCRIPTION π¦
Okay so here's the tea: this adds an IRQ affinity notifier that will update the reverse-map automatically. It's basically set-and-forget, bestie β the notifier keeps the map fresh for you. β¨
β οΈ But listen: it must be called in process context, and it has to happen after the IRQ is allocated but before it is bound with request_irq. Timing is everything, okay? Don't skip the order. periodt. π
π SEE ALSO π
This all lives in the kernel file ./lib/cpu_rmap.c β go peek at these friends too, iykyk:
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_notify(9)irq_cpu_rmap_release(9)irq_cpu_rmap_remove(9)
Cute little sign-off from irq_cpu_rmap_add(9) π β source/version: ./lib, date: October 2026. Stay slay, bestie, and may your reverse-map always update automatically πππ
π¦ 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