update_wall_time(9)
π« update_wall_time(9) π«
ok so first things first, bestie: this is a page from the Kernel API Manual, section 9 β yes, the big-kid kernel developer section, we're in the source-adjacent part of the docs now, no cap π«Ά
β¨ NAME β¨
update_wall_time β uses the current clocksource to increment the wall time π
π SYNOPSIS π
void update_wall_time (void );
πΈ ARGUMENTS πΈ
voidβ no arguments. that's it. nothing to pass, nothing to worry about, she takes zero parameters and she serves zero parameters πβ¨
π¦ DESCRIPTION π¦
so what does she actually do? she uses the current clocksource to bump the wall time forward β that's the whole main-character job π₯
and then, like, as if that wasn't already enough: it also updates the enabled auxiliary clock timekeepers π lowkey doing overtime, fr fr.
β SEE ALSO β
the whole extended friend group π«Ά and also the kernel file she lives in: ./kernel/time/timekeeping.c π iconic address honestly.
struct tk_fast(9)tk_setup_internals(9)update_fast_timekeeper(9)ktime_get_mono_fast_ns(9)ktime_get_raw_fast_ns(9)ktime_get_boot_fast_ns(9)ktime_get_tai_fast_ns(9)ktime_get_real_fast_ns(9)halt_fast_timekeeper(9)pvclock_gtod_register_notifier(9)pvclock_gtod_unregister_notifier(9)timekeeping_forward_now(9)ktime_get_real_ts64(9)ktime_mono_to_any(9)ktime_get_raw(9)ktime_get_ts64(9)ktime_get_seconds(9)ktime_get_real_seconds(9)__ktime_get_real_seconds(9)ktime_get_snapshot_id(9)adjust_historical_crosststamp(9)ktime_real_to_base_clock(9)get_device_system_crosststamp(9)timekeeping_clocksource_has_base(9)do_settimeofday64(9)__timekeeping_inject_offset(9)timekeeping_notify(9)ktime_get_raw_ts64(9)timekeeping_valid_for_hres(9)timekeeping_max_deferment(9)read_persistent_clock64(9)read_persistent_wall_and_boot_offset(9)__timekeeping_inject_sleeptime(9)timekeeping_inject_sleeptime64(9)timekeeping_resume(9)getboottime64(9)ktime_get_coarse_real_ts64_mg(9)ktime_get_real_ts64_mg(9)ktime_get_update_offsets_now(9)random_get_entropy_fallback(9)do_adjtimex(9)hardpps(9)ktime_get_aux(9)ktime_get_aux_ts64(9)
bestie there are 44 of these and i listed every single one because we don't do half-effort in this group chat π
okay that's the page!! and for the little sign-off moment you always do at the end: this one came from the source spot ./kernel/time, dated October 2026, and it's filed under update_wall_time(9) β screenshot it, cite it, live ur truth ππ
π¦ 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