tick_freeze(9)
π
tick_freeze(9) π
welcome to the Kernel API Manual, bestie β this page is all about tick_freeze(9), and it's lowkey a two-for-one vibe: suspend the local tick and (possibly) timekeeping. no cap. π°οΈβ¨
π NAME π
tick_freeze β suspend the local tick and (possibly) timekeeping.
β¨ SYNOPSIS β¨
void tick_freeze (void );
π«Ά ARGUMENTS π«Ά
voidβ no arguments. like, none at all, not even a lil one. π
π DESCRIPTION π
okay so here's the tea, bestie: tick_freeze checks if this is the last online CPU executing the function. if it is, then it suspends timekeeping. otherwise, it suspends the local tick. that's the whole branch situation, and it's giving main character energy. π
β οΈ call this with interrupts disabled. and it must be balanced withtick_unfreeze. interrupts must not be enabled before the subsequenttick_unfreezeβ that's a hard no. π
π₯ SEE ALSO π₯
- Kernel file:
./kernel/time/tick-common.c tick_is_oneshot_available(9)tick_broadcast_oneshot_control(9)tick_suspend_local(9)tick_resume_local(9)tick_suspend(9)tick_resume(9)tick_unfreeze(9)tick_init(9)
mwah π this page comes from ./kernel/time, dated October 2026, and it's all about tick_freeze(9). slay. πΈ
π¦ 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