History log of /linux-master/tools/testing/selftests/bpf/progs/struct_ops_multi_pages.c
Revision Date Author Comments
# 93bc28d8 24-Feb-2024 Kui-Feng Lee <thinker.li@gmail.com>

selftests/bpf: Test struct_ops maps with a large number of struct_ops program.

Create and load a struct_ops map with a large number of struct_ops
programs to generate trampolines taking a size over multiple pages. The
map includes 40 programs. Their trampolines takes 6.6k+, more than 1.5
pages, on x86.

Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240224223418.526631-4-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>