STRUCT IRQ_AFFINITY_DESC(9)
β¨ struct irq_affinity_desc(9) β¨
okay so welcome to the Kernel API Manual bestie, today we're learning about struct irq_affinity_desc β literally the Interrupt affinity descriptor π
it's giving "who gets to talk to which CPU" energy and honestly? iconic.
πΈ SYNOPSIS πΈ
struct irq_affinity_desc {
struct cpumask mask;
unsigned int is_managed : 1;
};
look at her. two fields. no notes. π
π¦ Members π¦
maskβ this is acpumaskand it's the one holding the affinity assignment</> β like, the actual list of CPUs this interrupt is allowed to vibe with. main character field tbh πis_managedβ a lilunsigned intbitfield sitting at: 1, and it's 1 if the interrupt is managed internally. that's it, that's the whole flag. one bit of pure attitude β¨
π SEE ALSO π
- Kernel file
./include/linux/interrupt.hstruct irqaction(9) request_irq(9)struct irq_affinity_notify(9)struct irq_affinity(9)irq_update_affinity_hint(9)irq_set_affinity_and_hint(9)
all the siblings. the whole irq friend group fr fr π«Ά go read them next, iykyk.
ngl this page lives in./include/linuxand it's dated October 2026, and the page itself is titledstruct irq_affinity_desc(9)β so like, if you're citing her, that's the whole receipt π
anyway that's the page!! interrupt affinity: understood, slayed, periodt π πβ
π¦ 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