arm64: vdso: put vdso datapage in a separate vma
authorWill Deacon <will.deacon@arm.com>
Wed, 9 Jul 2014 18:22:11 +0000 (19:22 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 17 Jul 2014 15:18:36 +0000 (16:18 +0100)
commit8715493852783358ef8656a0054a14bf822509cf
tree1d947307eead93e8b35664360c21f232e7e36ddb
parentb2f8c07bcb7d1a3575f41444d2d8048d0c922762
arm64: vdso: put vdso datapage in a separate vma

The VDSO datapage doesn't need to be executable (no code there) or
CoW-able (the kernel writes the page, so a private copy is totally
useless).

This patch moves the datapage into its own VMA, identified as "[vvar]"
in /proc/<pid>/maps.

Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/vdso.c