[Devel] [PATCH hci-8.1 v2 2/6] ms/vdso/timens: Move functions to new file
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Oct 20 19:13:09 MSK 2026
> As a preparation of the untangling of time namespaces and the vDSO, move
> the glue functions between those subsystems into a new file.
>
> While at it, switch the mutex lock and mmap_read_lock() in the vDSO
> namespace code to guard().
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> Signed-off-by: Thomas Gleixner <tglx at kernel.org>
> Link: https://patch.msgid.link/20260326-vdso-timens-decoupling-v2-1-c82693a7775f@linutronix.de
> (cherry picked from commit 5dc9cf835aba73c882348aa4f99be83b6e45ad9b)
The commit differs from the mainstream version, but no description of those
changes, please add.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-148112
> Feature: fix ms/timens
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index f0f955907fd7d..0cb210fe36a0a 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -9684,6 +9684,7 @@ S: Maintained
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/vdso
> F: include/asm-generic/vdso/vsyscall.h
> F: include/vdso/
> +F: kernel/time/namespace_vdso.c
> F: kernel/time/vsyscall.c
> F: lib/vdso/
> F: tools/testing/selftests/vDSO/
> @@ -18577,6 +18578,7 @@ F: include/trace/events/timer*
> F: kernel/time/itimer.c
> F: kernel/time/posix-*
> F: kernel/time/namespace.c
> +F: kernel/time/namespace_vdso.c
>
> POWER MANAGEMENT CORE
> M: "Rafael J. Wysocki" <rafael at kernel.org>
> diff --git a/include/linux/time_namespace.h b/include/linux/time_namespace.h
> index 3d3b529c5a98b..23384eafebfb5 100644
> --- a/include/linux/time_namespace.h
> +++ b/include/linux/time_namespace.h
> @@ -35,8 +35,6 @@ extern struct time_namespace init_time_ns;
> extern struct mutex offset_lock;
This line is from 51a228b021a0a ("ve: Add interface for ve::clock_*"),
it looks like this line is not needed anymore, please drop it by a separate
commit.
--
Konstantin Khorenko <khorenko at virtuozzo.com>
More information about the Devel
mailing list