]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hrtimer: Store time as ktime_t in restart block
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 10 Nov 2025 09:38:53 +0000 (10:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Nov 2025 15:31:19 +0000 (16:31 +0100)
commit4702f4eceb639b6af199151e352e570943619d98
tree1f9805c1e9645d3601c966093c421944e012cff2
parentba14500e4bfcab5e841fbf8d7fcbbc80e98d6b9e
hrtimer: Store time as ktime_t in restart block

The hrtimer core uses ktime_t to represent times, use that also for the
restart block. CPU timers internally use nanoseconds instead of ktime_t
but use the same restart block, so use the correct accessors for those.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251110-restart-block-expiration-v1-3-5d39cc93df4f@linutronix.de
include/linux/restart_block.h
kernel/time/hrtimer.c
kernel/time/posix-cpu-timers.c