Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15ed5351 authored by Feng Kan's avatar Feng Kan Committed by Gerrit - the friendly Code Review server
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.

Change-Id: Icd3f47db10665694b6a3cfff73b21e1d3d23dba8
Signed-off-by: default avatarFeng Kan <fkan@apm.com>
Git-commit: 6910fa16dbe142f6a0fd0fd7c249f9883ff7fc8a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent a2342258
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment