futex: Store time as ktime_t in restart block
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 10 Nov 2025 09:38:52 +0000 (10:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Nov 2025 15:29:53 +0000 (16:29 +0100)
commitc42ba5a87bdccbca11403b7ca8bad1a57b833732
tree5feda48e1f975f6c7c8c94b71088f9c1e03a3c31
parentcd91b502f1b4bb81e82fbae38678c698ee5ac026
futex: Store time as ktime_t in restart block

The futex core uses ktime_t to represent times, use that also for the
restart block.

This allows the simplification of the accessors.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20251110-restart-block-expiration-v1-2-5d39cc93df4f@linutronix.de
include/linux/restart_block.h
kernel/futex/waitwake.c