[PATCH v2 0/3] vdso/gettimeofday: Add support for ALARM clocks
From: Thomas Weißschuh
Date: Tue Sep 29 2026 - 16:31:01 EST
Extend the generic vDSO library to also handle CLOCK_BOOTTIME_ALARM
and CLOCK_REALTIME_ALARM. This does not introduce any runtime overhead
in the userspace fast path and only memory copies in the tick update
path.
Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Changes in v2:
- Rebase on tip/timers/vdso.
- Add Signed-off-by tags.
- Link to v1: https://patch.msgid.link/20260921-vdso-alarm-clocks-v1-0-617abb5271c7@xxxxxxxxxxxxxx
---
Thomas Weißschuh (3):
selftests: vDSO: vdso_test_abi: Also test ALARM clocks
vdso/gettimeofday: Add support for CLOCK_BOOTTIME_ALARM
vdso/gettimeofday: Add support for CLOCK_REALTIME_ALARM
include/vdso/datapage.h | 2 ++
kernel/time/vsyscall.c | 7 +++++++
tools/testing/selftests/vDSO/vdso_test_abi.c | 4 +++-
3 files changed, 12 insertions(+), 1 deletion(-)
---
base-commit: ca46a07c4b68246c4e400ce3649ab7228a878d8f
change-id: 20260921-vdso-alarm-clocks-6502a551ad5c
Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>