__ipi_send_single(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 __ipi_send_single (9) β€” from the Kernel API Manual πŸ’…

okay bestie, so this is a kernel API page, section 9, and the star of the show is __ipi_send_single β€” the little function that sends an IPI to a target Linux SMP CPU. that's it, that's the whole vibe. ✨


πŸŽ€ NAME πŸŽ€

__ipi_send_single β€” send an IPI to a target Linux SMP CPU

like, it literally does what it says on the tin, no cap. πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

int __ipi_send_single (struct irq_desc *desc , unsigned int cpu );

she's giving "small signature, big responsibility" energy fr fr 😭


πŸ’– ARGUMENTS πŸ’–

  • desc β€” pointer to the irq_desc of the IRQ. that's your irq descriptor bestie, hand her over 🫢
  • cpu β€” the destination CPU. and listen, it must be in the destination mask that you passed to irq_reserve_ipi β€” no freelancing, no rogue CPUs, we don't do that here πŸ’€

🌈 DESCRIPTION 🌈

so the way this works is β€” this function is for architecture or core code to speed up IPI sending. it's the fast lane, the VIP entrance, the main character shortcut ⭐

🚨 but the big caveat: it is not usable from driver code. drivers, this is not for you, please step away from the velvet rope πŸ™ˆ

πŸ’œ RETURN πŸ’œ

  • 0 on success β€” slay, we love a clean win πŸ’…
  • a negative error number on failure β€” not the vibe, but at least she tells you 😭

🧚 SEE ALSO 🧚

kernel file ./kernel/irq/ipi.c plus the whole friend group:

iykyk πŸ‘‘


and that's the page babes πŸ“ this one's living in ./kernel/irq, dated October 2026, and it's called __ipi_send_single(9) β€” goodbye, go send some IPIs responsibly, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from