intel_idle(9)
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 tointel_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 π₯
- Kernel file
./drivers/idle/intel_idle.c intel_idle_s2idle(9)intel_idle_cst_usable(9)ivt_idle_state_table_update(9)irtl_2_usec(9)bxt_idle_state_table_update(9)sklh_idle_state_table_update(9)skx_is_pc6_disabled(9)skx_idle_state_table_update(9)spr_idle_state_table_update(9)drop_pc6_redundant_cstates(9)byt_cht_auto_demotion_disable(9)intel_idle_cpuidle_driver_init(9)intel_idle_cpu_init(9)intel_idle_cpuidle_devices_uninit(9)validate_cmdline_cstate(9)cmdline_table_adjust(9)
thatβs the footer glow-up: source/version ./drivers/idle, date October 2026, page intel_idle(9) β mwah ππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms