cpuidle_unregister_device(9)
π cpuidle_unregister_device β a Kernel API Manual moment β¨
okay so bestie, welcome to the Kernel API Manual β this is the page for cpuidle_unregister_device, and it's literally the breakup page for a CPU's idle power-management era. no cap, that's the whole vibe. π
πΈ NAME πΈ
cpuidle_unregister_device β unregisters a CPU's idle PM feature
like. it takes the idle PM feature off the guest list. periodt. π«Ά
β¨ SYNOPSIS β¨
void cpuidle_unregister_device (struct cpuidle_device *dev );
that's it. that's the whole signature. returns void, so don't go looking for a return value, she gives you nothing back and she's iconic for it π
π¦ ARGUMENTS π¦
devβ the cpu
(that's the original one-liner and we're keeping it exactly, but just so we're clear: it's a struct cpuidle_device * and it is, in fact, the cpu π)
π SEE ALSO π
the whole friend group, no one left out, fr fr:
Kernel file ./drivers/cpuidle/cpuidle.ccpuidle_play_dead(9)cpuidle_use_deepest_state(9)cpuidle_find_deepest_state(9)cpuidle_enter_s2idle(9)cpuidle_enter_state(9)cpuidle_select(9)cpuidle_enter(9)cpuidle_reflect(9)cpuidle_poll_time(9)cpuidle_install_idle_handler(9)cpuidle_uninstall_idle_handler(9)cpuidle_pause_and_lock(9)cpuidle_resume_and_unlock(9)cpuidle_enable_device(9)cpuidle_disable_device(9)__cpuidle_register_device(9)cpuidle_register_device(9)cpuidle_unregister(9)cpuidle_register(9)cpuidle_init(9)
go read them. all of them. iykyk π
kisses from the source tree, mwah π β this one lives in ./drivers/cpuidle, dated October 2026, and she's serving cpuidle_unregister_device(9) realness till the end. π§ββοΈβπ
π¦ 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