summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-02-13 13:14:09 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2018-02-14 18:58:20 +0000
commit2ce77f6d8a9ae9ce6d80397d88bdceb84a2004cd (patch)
tree5012c64db317e922cd1c6eaa26f481d9e8f2c479 /net
parent16e574d762ac5512eb922ac0ac5eed360b7db9d8 (diff)
downloadlinux-2ce77f6d8a9ae9ce6d80397d88bdceb84a2004cd.tar.bz2
arm64: proc: Set PTE_NG for table entries to avoid traversing them twice
When KASAN is enabled, the swapper page table contains many identical mappings of the zero page, which can lead to a stall during boot whilst the G -> nG code continually walks the same page table entries looking for global mappings. This patch sets the nG bit (bit 11, which is IGNORED) in table entries after processing the subtree so we can easily skip them if we see them a second time. Tested-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions