Skip to content
Commit 6910fa16 authored by Feng Kan's avatar Feng Kan Committed by Catalin Marinas
Browse files

arm64: enable PTE type bit in the mask for pte_modify



Caught during Trinity testing. The pte_modify does not allow
modification for PTE type bit. This cause the test to hang
the system. It is found that the PTE can't transit from an
inaccessible page (b00) to a valid page (b11) because the mask
does not allow it. This happens when a big block of mmaped
memory is set the PROT_NONE, then the a small piece is broken
off and set to PROT_WRITE | PROT_READ cause a huge page split.

Signed-off-by: default avatarFeng Kan <fkan@apm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 06ff87ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment