tick_nohz_idle_exit(9)
π tick_nohz_idle_exit
okay so bestie, welcome to the Kernel API Manual β this is tick_nohz_idle_exit(9) and honestly she's that girl who shows up right when the idle task dips out and gets the tick situation sorted. π Let's get into it.
β¨ NAME β¨
tick_nohz_idle_exit β update the tick upon idle task exit π¦
β¨ SYNOPSIS β¨
void tick_nohz_idle_exit (void );
β¨ ARGUMENTS β¨
voidβ no arguments, bestie. none. zero. she takes nothing and gives everything π
β¨ DESCRIPTION β¨
so when the idle task exits, the tick gets updated depending on which of these situations we're in π like it's genuinely a vibe check for the tick:
- If the CPU is not in
nohz_fullmode (aka the most cases, the normie path), then restart the tick. periodt. π₯ - If the CPU is in
nohz_fullmode (the corner case, the main character scenario π):
2.1) If the tick can be kept stopped (no tick dependencies at all, like none), then re-evaluate the next tick and try to keep it stopped as long as possible. lowkey iconic β keep that tick asleep π΄β¨
2.2) If the tick has dependencies though, restart the tick. no cap, it's gotta come back. π
ngl, the whole point here is: figure out the tick's situation, then either restart it or keep it stopped as long as you possibly can. slay. πΈ
β¨ SEE ALSO β¨
- Kernel file
./kernel/time/tick-sched.cπ«Ά tick_nohz_update_jiffies(9)tick_nohz_next_event(9)tick_nohz_idle_stop_tick(9)tick_nohz_idle_enter(9)tick_nohz_irq_exit(9)tick_nohz_idle_got_tick(9)tick_nohz_get_next_hrtimer(9)tick_nohz_get_sleep_length(9)tick_nohz_get_idle_calls_cpu(9)tick_nohz_switch_to_nohz(9)tick_setup_sched_timer(9)
these are literally the whole friend group, go read them too π§π
so yeah, that's the page!! it lives in ./kernel/time and this version is dated October 2026 β mwah, love that for us πβ go forth and let your ticks be unbothered π¦π
π¦ 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