summaryrefslogtreecommitdiff
path: root/include/linux/bpf_mem_alloc.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2023-07-06 06:34:44 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2023-07-13 00:45:23 +0300
commitf76faa65c9717304b5abb9d77a19b3c09d4086f3 (patch)
treebfbf37a3f41c9f5727add12692ef9bd3a9fe7ad6 /include/linux/bpf_mem_alloc.h
parent43a89baecfe200cb4530f42b9fcf904925d6d14a (diff)
downloadlinux-f76faa65c9717304b5abb9d77a19b3c09d4086f3.tar.xz
selftests/bpf: Improve test coverage of bpf_mem_alloc.
bpf_obj_new() calls bpf_mem_alloc(), but doing alloc/free of 8 elements is not triggering watermark conditions in bpf_mem_alloc. Increase to 200 elements to make sure alloc_bulk/free_bulk is exercised. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/bpf/20230706033447.54696-12-alexei.starovoitov@gmail.com
Diffstat (limited to 'include/linux/bpf_mem_alloc.h')
0 files changed, 0 insertions, 0 deletions