__round_jiffies_up_relative(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ __round_jiffies_up_relative(9) πŸŽ€

okay bestie, you found the Kernel API Manual page for __round_jiffies_up_relative(9) and honestly? iconic. we're rounding jiffies upward and we're gonna understand it fr fr πŸ’…βœ¨

✨ NAME ✨

__round_jiffies_up_relative β€” function to round jiffies up to a full second β°πŸ’–

🌸 SYNOPSIS 🌸

unsigned long __round_jiffies_up_relative (unsigned long j , int cpu );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • j β€” the time in (relative) jiffies that should be rounded 🫢
  • cpu β€” the processor number on which the timeout will happen πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

okay so this is the same as __round_jiffies_relative except that it will never round down πŸ˜­πŸ‘‘. that's the flex. it's useful for timeouts for which the exact time of firing does not matter too much, as long as they don't fire too early. no early oopsies allowed, periodt πŸ’€βœ¨

🌈 SEE ALSO 🌈

the whole timer bestie lineup, no cap:


byeeee πŸ«ΆπŸ’‹ β€” this cute lil page comes from ./kernel/time, dated October 2026, and it's all about __round_jiffies_up_relative(9) βœ¨πŸŽ€

πŸ“¦ where this page comes from