cpuidle_set...adcast_timer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” a void pointer 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 πŸ’–:

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