cpuidle_coup...prevent_idle(9)
π cpuidle_coupled_prevent_idle(9) β from the Kernel API Manual, bestie β¨
okay so like, welcome to the group chat, this is Kernel API Manual territory and we're talking about cpuidle_coupled_prevent_idle(9) π yes the truncated header says cpuidle_coup...prevent_idle(9) but we know her full name, periodt.
β¨ NAME β¨
cpuidle_coupled_prevent_idle β literally stops cpus from sliding into a coupled state ππ
πΈ SYNOPSIS πΈ
void cpuidle_coupled_prevent_idle (struct cpuidle_coupled *coupled );
bestie it returns nothing (void), it just does the thing π
π¦ ARGUMENTS π¦
coupledβ thestruct coupledthat holds the cpu that's changing state. like, this is the little container of the crew, iykyk π«Ά
π₯ DESCRIPTION π₯
so what she does: disables coupled cpuidle on a coupled set of cpus. no cap, that's the whole vibe.
it's used to make sure that cpu_online_mask doesn't change while cpus are coordinating coupled idle β the way that mask has to stay exactly the same during that coordination is giving main character energy π like don't touch it, don't move it, don't breathe on it π§
fr fr, this is a coordination-safety thing. the mask stays put while the cpus do their coupled idle choreography π
π SEE ALSO π
- 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_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_allow_idle(9)
like, the whole coupled.c friend group honestly π obsessed with how many of them there are.
okay that's the page bestie π this gem lives in ./drivers/cpuidle, dated October 2026, and it's out here being cpuidle_coup...prevent_idle(9) in the Kernel API Manual β¨ slay, go read cpuidle_coupled_allow_idle(9) next, mwah πππ¦
π¦ 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