aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorPeng Zhang <[email protected]>2023-01-29 09:00:33 +0000
committerMike Rapoport (IBM) <[email protected]>2023-01-31 13:51:42 +0000
commitad500fb2d11b3739dcbc17a31976828b9161ecf5 (patch)
treee3cc000538779250f5d3538583c87d63a1dfc1e6 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentLinux 6.2-rc6 (diff)
downloadkernel-ad500fb2d11b3739dcbc17a31976828b9161ecf5.tar.gz
kernel-ad500fb2d11b3739dcbc17a31976828b9161ecf5.zip
memblock: Make a boundary tighter in memblock_add_range().
When type->cnt * 2 + 1 is less than or equal to type->max, there is enough empty regions to insert. Signed-off-by: Peng Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions