INTERRUPT_DISTRIBUTE(9)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸ’– INTERRUPT_DISTRIBUTE(9) β€” Kernel Developer's Manual πŸ’–

okay so bestie, this is the page for interrupt_distribute, and it's literally from the Kernel Developer's Manual. Buckle up β€” it's a short one, but it ate. πŸ’…


🌸 NAME 🌸

interrupt_distribute β€” assign an interrupt to a CPU. periodt. ✨


✨ SYNOPSIS ✨

#include <sys/interrupt.h>

int
interrupt_distribute(void *ich, const kcpuset_t *newset,
    kcpuset_t *oldset);

πŸ’… DESCRIPTION πŸ’…

The interrupt_distribute function exists to assign an interrupt to a CPU. no cap, that's its whole main character job. πŸ‘‘

If a driver (or the other kernel component) wishes to assign an interrupt to a CPU, it should pass an interrupt handler β€” such as the return value of pci_intr_establish() β€” as the ich argument. 🫢

Then it should pass the kcpuset to which it should be assigned as newset. Slay, that's the new set. 🌈

Wanna get the previous value? Pass a non-NULL value to oldset, bestie. That's the whole vibe check. πŸ’–


πŸ’– Sign-off: this is INTERRUPT_DISTRIBUTE(9) from Debian, dated August 17, 2015 β€” mwah, bestie πŸ’‹πŸ«Ά
πŸ“¦ where this page comes from