diff options
author | 2017-03-09 21:52:05 +0100 | |
---|---|---|
committer | 2017-03-23 13:55:21 +0000 | |
commit | eccc1bff1b0d168a136ecd51c6091cf0ba02151b (patch) | |
tree | 700abaf93030403d41e86fc7cacb92369e0db561 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64/mmu: align alloc_init_pte prototype with pmd/pud versions (diff) | |
download | linux-dev-eccc1bff1b0d168a136ecd51c6091cf0ba02151b.tar.xz linux-dev-eccc1bff1b0d168a136ecd51c6091cf0ba02151b.zip |
arm64/mmu: ignore debug_pagealloc for kernel segments
The debug_pagealloc facility manipulates kernel mappings in the linear
region at page granularity to detect out of bounds or use-after-free
accesses. Since the kernel segments are not allocated dynamically,
there is no point in taking the debug_pagealloc_enabled flag into
account for them, and we can use block mappings unconditionally.
Note that this applies equally to the linear alias of text/rodata:
we will never have dynamic allocations there given that the same
memory is statically in use by the kernel image.
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions