[PATCH 0/2] timens: Remove dependency on the vDSO
From: Thomas Weißschuh
Date: Mon Mar 23 2026 - 04:14:04 EST
Previously, missing time namespace support in the vDSO meant that time
namespaces needed to be disabled globally. This was expressed in a hard
dependency on the generic vDSO library. This also meant that architectures
without any vDSO or only a stub vDSO could not enable time namespaces.
Now that all architectures using a real vDSO are using the generic library,
that dependency is not necessary anymore.
Remove the dependency and let all architectures enable time namespaces.
Based on tip/timers/vdso.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
---
Thomas Weißschuh (2):
vdso/timens: Move functions to new file
timens: Remove dependency on the vDSO
MAINTAINERS | 2 +
include/linux/time_namespace.h | 36 ++++-----
init/Kconfig | 4 +-
kernel/time/Makefile | 1 +
kernel/time/namespace.c | 132 ++-----------------------------
kernel/time/namespace_internal.h | 28 +++++++
kernel/time/namespace_vdso.c | 164 +++++++++++++++++++++++++++++++++++++++
lib/vdso/datastore.c | 25 ------
8 files changed, 222 insertions(+), 170 deletions(-)
---
base-commit: 84ff7434f2386a10a8e2967e06a9415dd0ecef48
change-id: 20250908-vdso-timens-decoupling-24c0eee0c6c4
Best regards,
--
Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@xxxxxxxxxxxxx>