STRUCT IRQ_AFFINITY_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a cpumask and 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 lil unsigned int bitfield 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 πŸ’–

all the siblings. the whole irq friend group fr fr 🫢 go read them next, iykyk.


ngl this page lives in ./include/linux and it's dated October 2026, and the page itself is titled struct 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