irq_cpu_rmap_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


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