cpuidle_set...adcast_timer(9)
π cpuidle_setup_broadcast_timer(9) β from the Kernel API Manual, bestie β¨
okay so bestie, buckle up π this one is short but it's mysterious β it's giving "little function, big responsibilities". It lives in the Kernel API Manual (yes, the fancy one π), and its whole personality is turning the broadcast timer on and off per-CPU. Let's get into it πΈ
β¨ NAME β¨
cpuidle_setup_broadcast_timer β literally just enable/disable the broadcast timer on a cpu, that's it, that's the whole job π
π¦ SYNOPSIS π¦
void cpuidle_setup_broadcast_timer (void *arg );
no return value, one void pointer, immaculate vibes β¨
π ARGUMENTS π
argβ avoidpointer used to match the SMP cross call API. it's not here to be pretty, it's here to match the signature, iykyk π
π₯ DESCRIPTION π₯
so here's the tea β β if arg is NULL, broadcast is disabled; otherwise it's enabled. that's the whole vibe check: null vs not-null, on vs off, periodt π
this function is executed per CPU by an SMP cross call. it's not supposed to be called directly π«Ά
fr fr bestie, do not call this yourself β it's not a "you" function, it's an SMP-cross-call function. it has main character energy but it gets there via the cross call, not via you π
π SEE ALSO π
Kernel file ./drivers/cpuidle/driver.c β and the whole friend group π:
__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_driver_init(9)__cpuidle_register_driver(9)__cpuidle_unregister_driver(9)cpuidle_register_driver(9)cpuidle_unregister_driver(9)cpuidle_get_driver(9)cpuidle_get_cpu_driver(9)cpuidle_driver_state_disabled(9)
not me noticing__cpuidle_get_cpu_driver(9),__cpuidle_set_driver(9)and__cpuidle_unset_driver(9)each showing up twice in that list π keeping them exactly as listed because that's the canon bestie, no cap π§
and that's the page! short, sweet, slays π β this icon lives in ./drivers/cpuidle, and the manual's dated October 2026, so yeah, future-era kernel knowledge, we love to see it βπ bye bestie π
π¦ 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