tmigr_cpu_new_timer(9)
π NAME π
okay so bestie, this is tmigr_cpu_new_timer(9) from the Kernel API Manual, and its whole thing is enqueue next global timer into hierarchy (idle tmc) β yes, thatβs the main character energy π
β¨
π¦ SYNOPSIS π¦
u64 tmigr_cpu_new_timer (u64 nextexp );
π ARGUMENTS π
nextexpβ Next expiry of global timer (orKTIME_MAXif not) β°
πΈ DESCRIPTION πΈ
So the CPU is already deactivated in the timer migration hierarchy here β thatβs the setup, no cap π
tick_nohz_get_sleep_length calls tick_nohz_next_event and thereby the timer idle path is executed once more π
tmc->wakeup holds the first timer, when the timer migration hierarchy is completely idle π
Returns the first timer that needs to be handled by this CPU or KTIME_MAX if nothing needs to be done π«Ά
π SEE ALSO π
- Kernel file
./kernel/time/timer_migration.c struct tmigr_walk(9)tmigr_cpu_activate(9)tmigr_handle_remote(9)tmigr_requires_handle_remote(9)tmigr_cpu_deactivate(9)tmigr_quick_check(9)tmigr_isolated_exclude_cpumask(9)
Signed off from ./kernel/time, October 2026, as tmigr_cpu_new_timer(9) β mwah πβ¨
π¦ 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