x86/vdso: Restrict splitting VVAR VMA
authorDmitry Safonov <dima@arista.com>
Tue, 12 Nov 2019 01:27:08 +0000 (01:27 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jan 2020 11:20:56 +0000 (12:20 +0100)
commit6f74acfde20af1eb2178d0bd846bfd8f50b3be32
tree39f484ecd89b581b003acd14be07293da887bbba
parent0efc8bb0bb5fdfd529a23073ee15478b5d5e3839
x86/vdso: Restrict splitting VVAR VMA

Forbid splitting VVAR VMA resulting in a stricter ABI and reducing the
amount of corner-cases to consider while working further on VDSO time
namespace support.

As the offset from timens to VVAR page is computed compile-time, the pages
in VVAR should stay together and not being partically mremap()'ed.

Co-developed-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Andrei Vagin <avagin@openvz.org>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191112012724.250792-20-dima@arista.com
arch/x86/entry/vdso/vma.c