cpuidle_state_is_coupled(9)
π€ cpuidle_state_is_coupled(9) π€
okay so bestie, welcome to the Kernel API Manual β yes this is a section 9 situation, we're in kernel-doc territory, put your hair up, we're getting technical β¨
πΈ NAME πΈ
cpuidle_state_is_coupled β check if a state is part of a coupled set
like, is this idle state running solo or is it in a situationship with other cpus? that's the whole vibe check π
π¦ SYNOPSIS π¦
bool cpuidle_state_is_coupled (struct cpuidle_driver *drv , int state );
it returns a bool, she's simple, she's clean, she tells you yes or no and doesn't elaborate π
π ARGUMENTS π
drvβ thestruct cpuidle_driverfor the platform. it's giving "main character energy" for your whole platform's idle story πstateβ the index of the target state indrv->states. literally just the little number that points at which state we're asking about π
π DESCRIPTION π
Returns true if the target state is coupled with cpus besides this one.
that's it. that's the whole function. no cap, no extra lore, no hidden side quests. if the state is coupled with other cpus β true. if not β not true. iconic behaviour honestly π«Ά
π SEE ALSO π
the whole coupled crew, in order, no one left out because we do not do that here π
- Kernel file
./drivers/cpuidle/coupled.c Coupled cpuidle states(9)struct cpuidle_coupled(9)cpuidle_coupled_parallel_barrier(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_unregister_device(9)cpuidle_coupled_prevent_idle(9)cpuidle_coupled_allow_idle(9)
ngl if you're deep in the coupled cpuidle lore you should probably read all of these, they're a set, they come as a package deal π
and that's the page!! tysm for reading, this has been cpuidle_state_is_coupled(9) from the ./drivers/cpuidle girlies, dated October 2026 β mwah, drink water, go touch grass, and may your idle states never deadlock π
β¨π¦
π¦ 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