cpuidle_dri...ate_disabled(9)
π cpuidle_dri...ate_disabled(9) π
okay bestie so this one's from the Kernel API Manual and it's literally so straightforward β we're just flipping an idle state on or off, that's the whole vibe β¨
πΈ NAME πΈ
cpuidle_driver_state_disabled β disable or enable an idle state π«Ά
π SYNOPSIS π
void cpuidle_driver_state_disabled (struct cpuidle_driver *drv , int idx
, bool disable );
that's it. that's the whole call. no cap π
β¨ ARGUMENTS β¨
drvβ the cpuidle driver that, like, owns the state π it's the main character hereidxβ the state index, i.e. which one we're talking about π’disableβ whether or not to disable the state π« like, yes-disable or no-don't, pick one
π¦ SEE ALSO π¦
all the friends in the group chat, live from the kernel file ./drivers/cpuidle/driver.c:
__cpuidle_get_cpu_driver(9)__cpuidle_unset_driver(9)__cpuidle_set_driver(9)__cpuidle_get_cpu_driver(9)__cpuidle_set_driver(9)__cpuidle_unset_driver(9)cpuidle_setup_broadcast_timer(9)__cpuidle_driver_init(9)__cpuidle_register_driver(9)__cpuidle_unregister_driver(9)cpuidle_register_driver(9)cpuidle_unregister_driver(9)cpuidle_get_driver(9)cpuidle_get_cpu_driver(9)
and yes bestie, a few of those are listed more than once up there β that's exactly how the original page has it, so we're keeping it 100% as-is fr fr π
okay that's the whole page, go forth and toggle your idle states responsibly π§
mwah π this little transmission came to you from ./drivers/cpuidle, dated October 2026 β stay iconic, bestie πβ¨
π¦ 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