arm64/vdso: Restrict splitting VVAR VMA
authorAndrei Vagin <avagin@gmail.com>
Wed, 24 Jun 2020 08:33:20 +0000 (01:33 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 24 Jul 2020 17:06:52 +0000 (18:06 +0100)
commitbcf996434240c611f0fdab2c18cd75dd59cfa3c2
tree366a6e2e0f720b3cc0f0176648d99a4a6f51863c
parentee3cda8e46060b021087b6ef451e1cd9fa648af6
arm64/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.

Signed-off-by: Andrei Vagin <avagin@gmail.com>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Dmitry Safonov <dima@arista.com>
Link: https://lore.kernel.org/r/20200624083321.144975-6-avagin@gmail.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/vdso.c