aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2020-07-15 16:30:09 -0700
committerPalmer Dabbelt <[email protected]>2020-07-24 22:08:25 -0700
commitfa5a198359053c8e21dcc2b39c0e13871059bc9f (patch)
tree2f5f2132f89018fe9963519b85409e00ecdf1dc2 /kernel/bpf/stackmap.c
parent4400231c8acc7e513204c8470c6d796ba47dc169 (diff)
riscv: Parse all memory blocks to remove unusable memory
Currently, maximum physical memory allowed is equal to -PAGE_OFFSET. That's why we remove any memory blocks spanning beyond that size. However, it is done only for memblock containing linux kernel which will not work if there are multiple memblocks. Process all memory blocks to figure out how much memory needs to be removed and remove at the end instead of updating the memblock list in place. Signed-off-by: Atish Patra <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions