cpuidle_cou...ister_device(9)
π cpuidle_coupled_unregister_device β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual β¨ this page is literally just about one function and honestly? she's kind of a big deal in the cpuidle friend group π«Ά
β¨ NAME β¨
cpuidle_coupled_unregister_device β unregister a coupled cpuidle device π
πΈ SYNOPSIS πΈ
void cpuidle_coupled_unregister_device (struct cpuidle_device *dev );
that's it. that's the whole signature. no return value, she gives you nothing back and honestly? iconic behaviour π
π¦ ARGUMENTS π¦
devβ thestruct cpuidle_devicefor the current cpu. that's your girl, the one you're unregistering π
π DESCRIPTION π
so here's the tea β this one gets called from cpuidle_unregister_device to tear down coupled idle. like, the whole coupled setup? yeah, we're dismantling it. rip bozo π
what she actually does, fr fr:
- removes the cpu from the coupled idle set π§
- and if this was the last cpu in the set, she frees the
cpuidle_coupled_infostruct π
that's the whole personality. queen of cleanup. no cap π
π SEE ALSO π
bestie, go read the source, it's right here: Kernel file ./drivers/cpuidle/coupled.c β and while you're at it, lowkey obsessed with the whole friend group:
Coupled cpuidle states(9)struct cpuidle_coupled(9)cpuidle_coupled_parallel_barrier(9)cpuidle_state_is_coupled(9)cpuidle_coupled_state_verify(9)cpuidle_coupled_set_ready(9)cpuidle_coupled_set_not_ready(9)cpuidle_coupled_no_cpus_ready(9)cpuidle_coupled_cpus_ready(9)cpuidle_coupled_cpus_waiting(9)cpuidle_coupled_no_cpus_waiting(9)cpuidle_coupled_get_state(9)cpuidle_coupled_poke(9)cpuidle_coupled_poke_others(9)cpuidle_coupled_set_waiting(9)cpuidle_coupled_set_not_waiting(9)cpuidle_coupled_set_done(9)cpuidle_coupled_clear_pokes(9)cpuidle_enter_state_coupled(9)cpuidle_coupled_register_device(9)cpuidle_coupled_prevent_idle(9)cpuidle_coupled_allow_idle(9)
ngl the whole set is giving "we're a package deal" energy π₯ do a vibe check on all of them, iykyk π
and that's the page, bestie!! mwah π this lil gem lives in ./drivers/cpuidle and it's dated October 2026 β protect her, cite her, love her ππβ¨
π¦ 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