tick_nohz_update_jiffies(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

tick_nohz_update_jiffies(9) from the Kernel API Manual β€” literally here to update jiffies when idle got interrupted πŸ’…βœ¨

🌸 SYNOPSIS 🌸

void tick_nohz_update_jiffies (ktime_t now );

πŸŽ€ ARGUMENTS πŸŽ€

  • now β€” the current ktime_t, bestie ⏰🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this one gets called from interrupt entry when the CPU was idle 😴✨

So if the sched_tick was stopped on this CPU, we have to check whether jiffies must be updated. Otherwise an interrupt handler could use a stale jiffy value 😭 β€” and that is not the vibe.

We do this unconditionally on any CPU, because we don't know whether the CPU that has the update task assigned is in a long sleep πŸ˜΄πŸ’€ no cap, we're not out here guessing.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./kernel/time/tick-sched.c plus these iconic functions, iykyk:


And that's the whole page, bestie! Source/version is ./kernel/time and the date is October 2026, so this sign-off is giving tick_nohz_update_jiffies(9) with main character energy πŸ‘‘πŸ’–πŸŽ€

πŸ“¦ where this page comes from