cpuidle_coup...cpus_waiting(9)
π€ cpuidle_coup...cpus_waiting(9) π€
ok so this is a page from the Kernel API Manual and honestly? it's a little baddie. it's short, it's sweet, and it does exactly one job. let's get into it bestie π«Ά
β¨ NAME β¨
cpuidle_coupled_cpus_waiting β check if all cpus in a coupled set are waiting π
like, the entire vibe of this function is just "hey... are we all here? is everyone in the wait loop? no cap?" π
π SYNOPSIS π
bool cpuidle_coupled_cpus_waiting (struct cpuidle_coupled *coupled );
yes she returns a bool and yes that's iconic of her. true or false, no in-between, periodt. π₯
πΈ ARGUMENTS πΈ
coupledβ thestruct coupledthat contains the current cpu. that's it. that's the whole argument. she's lowkey a one-argument girly and we respect it π
π¦ DESCRIPTION π¦
Returns true if all cpus coupled to this target state are in the wait loop.
the way that's literally the whole description π and honestly same β why be verbose when you can just be correct? so yeah: everyone coupled to this target state, chillin' in the wait loop? true. not everyone? false. main character energy is checking on your friends fr fr.
π SEE ALSO π
ok buckle up bestie this list is LONG and every single one of these is coming with us, no skipping π§
Kernel file ./drivers/cpuidle/coupled.c
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_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_unregister_device(9)cpuidle_coupled_prevent_idle(9)cpuidle_coupled_allow_idle(9)
the whole coupled squad ate, ngl. go read all of them, iykyk π
π‘ friendly reminder: this function only tells you whether everyone's waiting β it doesn't make anyone wait. no extra lore, that's just what the manpage says π«Ά
that's the page!! she's from ./drivers/cpuidle (yes, the kernel file lives there too) and she's dated October 2026 β¨ thanks for reading bestie, now go check your wait loops ππ
π¦ 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