]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b07e14804aa0ca122a174b109e11dbe4b1ab64b
tree1d947307eead93e8b35664360c21f232e7e36ddb
parent0567e51beac4f65de27cb31c115b7405003fd916
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