round_jiffies_up_relative(9)
π round_jiffies_up_relative(9) π
ok so like β welcome to the Kernel API Manual, bestie π this one's a lil function page and honestly it's giving "small but mighty" energy. buckle up, it's gonna be quick but iconic β¨
πΈ NAME πΈ
round_jiffies_up_relative β a function that rounds jiffies up to a full second, no cap πβ¬οΈ
β¨ SYNOPSIS β¨
unsigned long round_jiffies_up_relative (unsigned long j );
π§ ARGUMENTS π§
jβ the time, in (relative) jiffies, that's gonna get rounded π« this is the main character of the function fr
π DESCRIPTION π
okay so, real talk: this is the same as round_jiffies_relative β literally the same vibes β except it will never round down. never. not once. periodt π
which is lowkey so useful for timeouts where the exact time of firing does not matter too much, as long as they don't fire too early π€ like, precision? not the vibe. but earliness? absolutely not, we don't do that here π«
think of it as the friend who's always a lil late but never early β and in this case that's exactly the point π«Ά
π¦ SEE ALSO π¦
bestie there is a whole squad here, and yes you're gonna meet all of them π
- Kernel file
./kernel/time/timer.cβstruct timer_base(9) __round_jiffies_relative(9)round_jiffies(9)round_jiffies_relative(9)__round_jiffies_up_relative(9)round_jiffies_up(9)timer_init_key(9)mod_timer_pending(9)mod_timer(9)timer_reduce(9)add_timer(9)add_timer_local(9)add_timer_global(9)add_timer_on(9)__timer_delete(9)timer_delete(9)timer_shutdown(9)__try_to_del_timer_sync(9)timer_delete_sync_try(9)__timer_delete_sync(9)timer_delete_sync(9)timer_shutdown_sync(9)fetch_next_timer_interrupt_remote(9)timer_unlock_remote_bases(9)timer_lock_remote_bases(9)timer_base_is_idle(9)timer_expire_remote(9)get_next_timer_interrupt(9)timer_base_try_to_set_idle(9)timer_clear_idle(9)__run_timers(9)
aaaand that's the whole page, bestie π ngl it was a short one but we ate anyway πβ¨ this lil icon lives over in ./kernel/time and the page is dated October 2026 β mwah, go round some jiffies, love u πππ«Ά
π¦ 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