irq_matrix_reserve_managed(9)
π irq_matrix_reserve_managed β a kernel API manual moment π
okay so bestie, welcome to irq_matrix_reserve_managed(9), straight out of the Kernel API Manual β¨ this one is short and sweet and honestly kind of iconic for it π
πΈ NAME πΈ
irq_matrix_reserve_managed β Reserve a managed interrupt in a CPU map πΊοΈβ¨
π¦ SYNOPSIS π¦
int irq_matrix_reserve_managed (struct irq_matrix *m , const struct
cpumask *msk );
like, that's the whole signature, no cap π
π ARGUMENTS π
mβ Matrix pointer π§ the matrix in question, bestiemskβ On which CPUs the bits should be reserved. π so like, which CPUs get the reservation vibes
π DESCRIPTION π
okay so the tea β: you can call this for offline CPUs. fr fr, offline CPUs are welcome here π«Ά
but listen β this will only reserve one bit on all CPUs in msk π and it's not guaranteed that the bits are at the same offset on all CPUs. so like, same vibe, different position π don't assume they line up, that's the whole warning periodt π
β SEE ALSO β
Kernel file ./kernel/irq/matrix.c and honestly the whole friend group π«Ά:
irq_alloc_matrix(9)irq_matrix_online(9)irq_matrix_offline(9)irq_matrix_assign_system(9)irq_matrix_remove_managed(9)irq_matrix_alloc_managed(9)irq_matrix_assign(9)irq_matrix_reserve(9)irq_matrix_remove_reserved(9)irq_matrix_alloc(9)irq_matrix_free(9)irq_matrix_available(9)irq_matrix_reserved(9)irq_matrix_allocated(9)irq_matrix_debug_show(9)
π reminder bestie: one bit per CPU in msk, and the offsets are not promised to match. that's it, that's the caveat π
mwah π this little page lives in ./kernel/irq and it was dated October 2026 β go forth and reserve those managed interrupts responsibly, queen ππΈ
π¦ 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