get_next_timer_interrupt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

get_next_timer_interrupt(9) 🌸

okay bestie, welcome to the get_next_timer_interrupt(9) page from the Kernel API Manual. this is the kernel-time vibe check where we ask: what’s the next timer’s clock mono time? no cap. ✨

πŸ’– NAME πŸ’–

get_next_timer_interrupt β€” return the time (clock mono) of the next timer. periodt. πŸ•°οΈ

πŸŽ€ SYNOPSIS πŸŽ€

u64 get_next_timer_interrupt (unsigned long basej , u64 basem );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • basej β€” base time jiffies, fr fr.
  • basem β€” base time clock monotonic. that’s the monotonic baseline, iykyk.

✨ DESCRIPTION ✨

okay so this function returns the tick aligned clock monotonic time of the next pending timer, or KTIME_MAX if no timer is pending. iconic. πŸ‘‘

and here are the little caveats, because of course there are caveats:

  • If timer of global base was queued into timer migration hierarchy, the first global timer is not taken into account. πŸ™ˆ
  • If it was the last CPU of timer migration hierarchy going idle, the first global event is taken into account. 🫢

πŸ”₯ SEE ALSO πŸ”₯

these are the related lore links, and yes there are a lot of them β€” collect them all, bestie:

shoutout to the source/version ./kernel/time and the date October 2026 for this footer moment. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from