aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2022-08-26 18:48:00 +0200
committerWill Deacon <[email protected]>2022-09-01 12:02:39 +0100
commit5fbc49cef91916140a305f22f7430e9a7ea0c6b4 (patch)
tree6330fdc85832cfe957ae1ccce93822e589b3846f /tools/testing/selftests/bpf/progs/test_autoload.c
parent6bb0d64c100091e131cd16710b62fda3319cd0af (diff)
arm64: mm: Reserve enough pages for the initial ID map
The logic that conditionally allocates one additional page at each swapper page table level if KASLR is enabled is also applied to the initial ID map, now that we have started using the same set of macros to allocate the space for it. However, the placement of the kernel in physical memory might result in additional pages being needed at any level, even if KASLR is disabled in the build. So account for this in the computation. Fixes: c3cee924bd85 ("arm64: head: cover entire kernel image in initial ID map") Signed-off-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions