aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/net/bpf_jit_comp.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2014-10-24 13:16:47 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2014-10-24 13:16:47 -0400
commit3dec0fe48a8936528aae2fc3f904c2c9a34ba368 (patch)
tree0e14b10520c0f265f6ce0417c9f2b678f1328ff9 /arch/arm64/net/bpf_jit_comp.c
parent92980405f3537136b8e81007a9df576762f49bbb (diff)
arm64: Fix memblock current_limit with 64K pages and 48-bit VA
With 48-bit VA space, the 64K page configuration uses 3 levels instead of 2 and PUD_SIZE != PMD_SIZE. Since with 64K pages we only cover PMD_SIZE with the initial swapper_pg_dir populated in head.S, the memblock current_limit needs to be set accordingly in map_mem() to avoid allocating unmapped memory. The memblock current_limit is progressively increased as more blocks are mapped. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions