summaryrefslogtreecommitdiffstats
path: root/Documentation/logo.txt
diff options
context:
space:
mode:
authorSteve Capper <Steve.Capper@arm.com>2014-01-15 15:07:13 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2014-01-31 12:30:49 +0100
commitc2c93e5b7f3f42277ec25ff3746096abc0c0d0f7 (patch)
treeef50b27ee3249facbc8dd809937445cdaefbc028 /Documentation/logo.txt
parentarm64: mm: Remove PTE_BIT_FUNC macro (diff)
downloadlinux-c2c93e5b7f3f42277ec25ff3746096abc0c0d0f7.tar.xz
linux-c2c93e5b7f3f42277ec25ff3746096abc0c0d0f7.zip
arm64: mm: Introduce PTE_WRITE
We have the following means for encoding writable or dirty ptes: PTE_DIRTY PTE_RDONLY !pte_dirty && !pte_write 0 1 !pte_dirty && pte_write 0 1 pte_dirty && !pte_write 1 1 pte_dirty && pte_write 1 0 So we can't distinguish between writable clean ptes and read only ptes. This can cause problems with ptes being incorrectly flagged as read only when they are writable but not dirty. This patch introduces a new software bit PTE_WRITE which allows us to correctly identify writable ptes. PTE_RDONLY is now only clear for valid ptes where a page is both writable and dirty. Signed-off-by: Steve Capper <steve.capper@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/logo.txt')
0 files changed, 0 insertions, 0 deletions