intel_idle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– welcome to the intel_idle(9) page from the Kernel API Manual β€” this is the kernel’s little β€œgo to sleep” ask for a CPU, and yes, it’s giving main character energy. ✨

πŸ’– NAME πŸ’–

intel_idle β€” Ask the processor to enter the given idle state. πŸ’€

✨ SYNOPSIS ✨

       __cpuidle int intel_idle (struct cpuidle_device *dev , struct
       cpuidle_driver *drv , int index );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” cpuidle device of the target CPU. πŸ–₯️
  • drv β€” cpuidle driver (assumed to point to intel_idle_driver). πŸ‘€
  • index β€” Target idle state index. πŸ”’

🌸 DESCRIPTION 🌸

okay so here’s the whole vibe: use the MWAIT instruction to notify the processor that the CPU represented by dev is idle and it can try to enter the idle state corresponding to index. πŸ’€βœ¨

if the local APIC timer is not known to be reliable in the target idle state, enable one-shot tick broadcasting for the target CPU before executing MWAIT. no cap, that’s the setup. 🫢

Must be called under local_irq_disable. periodt. this is a hard requirement, bestie β€” don’t skip it. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


that’s the footer glow-up: source/version ./drivers/idle, date October 2026, page intel_idle(9) β€” mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from