]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: Make !dirty ptes read-only
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Nov 2012 17:06:05 +0000 (17:06 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 29 Nov 2012 15:32:13 +0000 (15:32 +0000)
commit33eaa58f854770dc9c98411a356c98e3a53edfda
tree60f5074db489db6a30e6c32b5c7247e764b81562
parent8f3bfa584ed05e9e7d290707c48eee026fb94ece
arm64: Make !dirty ptes read-only

The AArch64 Linux port relies on the mm code to wrprotect clean ptes.
This however is not the case with newly created ptes and
PAGE_SHARED(_EXEC) is writable but !dirty.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: <stable@vger.kernel.org>
arch/arm64/include/asm/pgtable.h