kernel::interrupt - Rust
Skip to main content Module interrupt kernel Module interrupt Source Expand description Interrupt controls This module allows Rust code to annotate areas of code where local processor interrupts should be disabled, along with actually disabling local processor interrupts. § ⚠️ Warning! ⚠️ The usage of this module can be more complicated than meets the eye, especially surrounding preemptible kernels . It’s recommended to take care when using the functions and types defined here and familiarize yourself with the various documentation we have before using them, along with the various documents we link to here. § Reading material Software interrupts and realtime (LWN) Structs § Local Interrupt Disabled A guard that represents local processor interrupt disablement on preemptible kernels.
Functions § local_ interrupt_ disable Disable local processor interrupts on a preemptible kernel.