[PATCH 0/4] vdso/gettimeofday: Some cleanups and refactorings
From: Thomas Weißschuh
Date: Fri Feb 27 2026 - 01:43:32 EST
Refactor some of the generic vDSO code to be less repetitive.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
---
Thomas Weißschuh (4):
vdso/gettimeofday: Drop a few usages of __maybe_unused
vdso/gettimeofday: Add a helper to read the sequence lock of a time namespace aware clock
vdso/gettimeofday: Add a helper to test if a clock is namespaced
vdso/gettimeofday: Move the unlikely() into vdso_read_retry()
include/vdso/helpers.h | 30 +++++++++++++++++-
lib/vdso/gettimeofday.c | 82 ++++++++++++++-----------------------------------
2 files changed, 52 insertions(+), 60 deletions(-)
---
base-commit: a4bce5f2dd9d89ebfc644082550f27e5068a4f0a
change-id: 20260213-vdso-cleanups-a342c4ffa81d
Best regards,
--
Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>