tick_nohz_get_next_hrtimer(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tick_nohz_get_next_hrtimer(9) β€” from the Kernel API Manual, bestie πŸ’–

okay so real talk, this one lives in the Kernel API Manual and it's one of those little functions that's small but matters, yk? She's the "what's happening next" oracle. Let's get into it ✨


🌸 NAME 🌸

tick_nohz_get_next_hrtimer β€” returns the next expiration time for the hrtimer or the tick, whichever expires first πŸ•πŸ’…

heads up, bestie: if the tick has been stopped, it returns the next hrtimer. that's the whole vibe check right there.

πŸŽ€ SYNOPSIS πŸŽ€

ktime_t tick_nohz_get_next_hrtimer (void );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” no arguments. literally none. she takes nothing, gives you the tea 🫢

🌈 DESCRIPTION 🌈

Called from power state control code with interrupts disabled. that's the setup, that's the context, no cap. she's doing her little job inside the power state control code, and interrupts are off the whole time β€” so act accordingly πŸ™ˆ


⭐ RETURN ⭐

the next expiration time. that's it, that's the answer, iconic πŸ’«


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./kernel/time/tick-sched.c, plus the whole friend group:


and that's the whole page, bestie πŸ“ this came out of ./kernel/time and it's dated October 2026 β€” so like, future-core πŸ’œ bye luv u, go read tick_nohz_next_event(9) next mwah 🧚✨

πŸ“¦ where this page comes from