irq_matrix_alloc_managed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irq_matrix_alloc_managed(9) πŸ’…

okay so bestie, this page lives in the Kernel API Manual, and the function is irq_matrix_alloc_managed. It’s giving: Allocate a managed interrupt in a CPU map. That’s the whole vibe. ✨


🌸 NAME 🌸

irq_matrix_alloc_managed β€” Allocate a managed interrupt in a CPU map. πŸ’–


✨ SYNOPSIS ✨

int irq_matrix_alloc_managed (struct irq_matrix *m , const struct
       cpumask *msk , unsigned int *mapped_cpu );

lowkey that’s the signature, no cap. It’s declared as int, and it takes those three args β€” we are not changing a single character. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • m β€” matrix pointer. like, the pointer to the matrix. main character energy. πŸ‘‘
  • msk β€” Which CPUs to search in. that’s the mask, bestie. πŸ”
  • mapped_cpu β€” Pointer to store the CPU for which the irq was allocated. so the allocated CPU gets written there. πŸ’Ύ

🌈 SEE ALSO 🌈

go peek at the kernel file ./kernel/irq/matrix.c, and also these icons:


kisses from the ./kernel/irq corner of the kernel, dated October 2026 β€” and yeah, this is irq_matrix_alloc_managed(9) saying bye bestie πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from