summaryrefslogtreecommitdiff
path: root/tools/bootconfig
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2023-09-08 16:39:23 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-09-11 22:41:37 +0300
commitf0a42ab5890f749626b35f9fddd8d0704fc89524 (patch)
tree7a64861ed83752ac413a6fa9e14969ee728442ff /tools/bootconfig
parentc930472552022bd09aab3cd946ba3f243070d5c7 (diff)
downloadlinux-f0a42ab5890f749626b35f9fddd8d0704fc89524.tar.xz
selftests/bpf: Test all valid alloc sizes for bpf mem allocator
Add a test to test all possible and valid allocation size for bpf memory allocator. For each possible allocation size, the test uses the following two steps to test the alloc and free path: 1) allocate N (N > high_watermark) objects to trigger the refill executed in irq_work. 2) free N objects to trigger the freeing executed in irq_work. Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20230908133923.2675053-5-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bootconfig')
0 files changed, 0 insertions, 0 deletions