timer_base_try_to_set_idle(9)
π NAME π
okay so bestie, welcome to timer_base_try_to_set_idle(9) from the Kernel API Manual π«Άβ¨. This page is about timer_base_try_to_set_idle β Try to set the idle state of the timer bases π
.
β¨ SYNOPSIS β¨
u64 timer_base_try_to_set_idle (unsigned long basej , u64 basem , bool
*idle );
No cap, that's the whole signature. periodt π«
π ARGUMENTS π
basejβ base time jiffies β±οΈbasemβ base time clock monotonic π°οΈidleβ pointer to store the value oftimer_base->is_idleon return;*idlecontains the information whether tick was already stopped πβ¨
π¦ DESCRIPTION π¦
the way that it returns the tick aligned clock monotonic time of the next pending timer, or KTIME_MAX if no timer is pending π₯. When tick was already stopped, KTIME_MAX is returned as well β same energy, no timer magic π.
π SEE ALSO π
okay bestie, if you're going full main character energy in the timer code, these are the references π:
- 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)round_jiffies_up_relative(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_clear_idle(9)__run_timers(9)
mwah π β this page lives at source/version ./kernel/time, dated October 2026, and it's the timer_base_try_to_set_idle(9) manual page. byeeee π«ΆπΈ
π¦ 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