STRUCT IRQ_REDIRECT(9)
π struct irq_redirect(9) π
okay so this is a page from the Kernel API Manual bestie, and it's literally all about struct irq_redirect β the β¨interrupt redirection metadataβ¨ of it all. tiny struct, big main character energy, let's get into it π
πΈ NAME πΈ
struct irq_redirect β interrupt redirection metadata π¦
like, it's the little bundle of info that keeps track of where an interrupt is headed. no cap.
β¨ SYNOPSIS β¨
struct irq_redirect {
struct irq_work work;
unsigned int target_cpu;
};
that's the whole vibe. two members, zero drama π«Ά
π Members π
workβ aHargirq_work item, and its whole job is handler execution on a different CPU. yes the page literally saysHarg, that's not me being silly, I'm quoting the source bestie π it's the irq_work item, periodt.target_cpuβ the CPU to run the irq handler on, in case the current CPU is not part of the irq affinity mask. so like, if your current CPU isn't invited to the party, this is the CPU that is π anunsigned int, iconic.
π quick vibe check: target_cpu only kicks in when the current CPU isn't in the irq affinity mask. it's the backup plan, the understudy, the "girl you're not on the list but she is" of CPUs π
π SEE ALSO π
go look at the kernel file ./include/linux/irqdesc.h and the whole friend group:
struct irqstat(9)struct irq_desc(9)irq_set_handler_locked(9)irq_set_chip_handler_name_locked(9)
and that's the page bestie! πβ¨ straight out of ./include/linux, dated October 2026, no thoughts just interrupt redirection metadata. mwah ππ
π
π¦ 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