https://github.com/torvalds/linux
Revision 6910fa16dbe142f6a0fd0fd7c249f9883ff7fc8a authored by Feng Kan on 24 February 2015, 23:40:21 UTC, committed by Catalin Marinas on 26 February 2015, 18:30:12 UTC
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: Feng Kan <fkan@apm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 06ff87b
History
Tip revision: 6910fa16dbe142f6a0fd0fd7c249f9883ff7fc8a authored by Feng Kan on 24 February 2015, 23:40:21 UTC
arm64: enable PTE type bit in the mask for pte_modify
Tip revision: 6910fa1
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 298.0 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top