cpuidle_unregister_driver(9)
π
cpuidle_unregister_driver π
okay so welcome to the Kernel API Manual, bestie β this page is all about cpuidle_unregister_driver, and itβs giving βclean up your driver registrationβ energy β¨
π NAME π
cpuidle_unregister_driver β unregisters a driver π
β¨ SYNOPSIS β¨
void cpuidle_unregister_driver (struct cpuidle_driver *drv );
π«Ά ARGUMENTS π«Ά
drvβ a pointer to a validstruct cpuidle_driverβ¨
π DESCRIPTION π
So this function unregisters the cpuidle driver, and it does it under a lock so that concurrent attempts to [un]register the driver canβt happen at the exact same time. Lowkey crucial, fr fr π₯
The drv you pass in has to match the driver thatβs currently registered β thatβs the vibe check, and it must pass π
π SEE ALSO π
Kernel file: ./drivers/cpuidle/driver.c β thatβs the source bestie π
Also, the whole squad (yes, some repeats β weβre keeping every single one, periodt):
__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_get_driver(9)cpuidle_get_cpu_driver(9)cpuidle_driver_state_disabled(9)
okay thatβs the whole page, bestie π«Ά β signed off from ./drivers/cpuidle, dated October 2026, filed under cpuidle_unregister_driver(9). byeee πβ¨
π¦ 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