Re: [PATCH 3/6] arm64/vdso: Add time namespace page
From: Dmitry Safonov <hidden>
Date: 2020-06-02 19:29:25
Also in:
lkml
From: Dmitry Safonov <hidden>
Date: 2020-06-02 19:29:25
Also in:
lkml
Hi Andrei, On 6/2/20 7:02 PM, Andrei Vagin wrote: [..]
--- a/arch/arm64/include/asm/vdso.h +++ b/arch/arm64/include/asm/vdso.h@@ -12,6 +12,12 @@ */ #define VDSO_LBASE 0x0 +#ifdef CONFIG_TIME_NS +#define __VVAR_PAGES 2 +#else +#define __VVAR_PAGES 1 +#endif + #ifndef __ASSEMBLY__
Not an issue as-is, but:
on x86 vdso+vvar is always the same size with/without CONFIG_TIME_NAMESPACE.
Timens page isn't allocated on !CONFIG_TIME_NAMESPACE, but vma is the
same size. Which simplifies criu/vdso migration between different kernel
configs.
Not any critical, but just to note..
Thanks,
Dima
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel