irq_reserve_ipi(9)
π irq_reserve_ipi(9) β Kernel API Manual
okay so bestie, welcome to irq_reserve_ipi, the function in the Kernel API Manual (section 9, we're doing kernel internals today π) that sets up an IPI to a destination cpumask. yes it's giving low-level, yes it's iconic, let's get into it β¨
β¨ NAME β¨
irq_reserve_ipi β Setup an IPI to destination cpumask π¦
πΈ SYNOPSIS πΈ
int irq_reserve_ipi (struct irq_domain *domain , const struct cpumask
*dest );
π ARGUMENTS π
domainβ the IPI domain, bestie π«Άdestβ the cpumask of CPUs which can receive the IPI. like, the whole guest list of who's allowed to get this interrupt π
π DESCRIPTION π
So what it does is: it allocates a virq that can be used to send an IPI to any CPU in the dest mask. that's it, that's the whole vibe. one virq, and it's valid for every CPU hanging out in that mask π
β¨
π₯ RETURN π₯
On success you get the Linux IRQ number back. on failure? you get an error code. no cap, that's the deal π
ngl bestie, always check the return value β success gives you an IRQ number, failure gives you an error code, and those are NOT the same thing π
π SEE ALSO π
Kernel file ./kernel/irq/ipi.c β go read it, it's right there π
irq_destroy_ipi(9)ipi_get_hwirq(9)__ipi_send_single(9)__ipi_send_mask(9)ipi_send_single(9)ipi_send_mask(9)
all the IPI besties, together, the way it should be π§π
and that's the page fr fr π it lives in ./kernel/irq and this version is dated October 2026, page irq_reserve_ipi(9) β mwah, slay, 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