aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/user_ringbuf.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2025-06-07 01:36:21 +0000
committerAlexei Starovoitov <[email protected]>2025-06-07 02:21:43 +0000
commit8c8c5e3c854a2593ec90dacd868f3066b67de1c4 (patch)
treeae0b404b024f20fbf44a123d821c61de839b2353 /tools/testing/selftests/bpf/prog_tests/user_ringbuf.c
parentselftests/bpf: Fix bpf_mod_race test failure with arm64 64KB page size (diff)
downloadkernel-8c8c5e3c854a2593ec90dacd868f3066b67de1c4.tar.gz
kernel-8c8c5e3c854a2593ec90dacd868f3066b67de1c4.zip
selftests/bpf: Fix ringbuf/ringbuf_write test failure with arm64 64KB page size
The ringbuf max_entries must be PAGE_ALIGNED. See kernel function ringbuf_map_alloc(). So for arm64 64KB page size, adjust max_entries and other related metrics properly. Signed-off-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/user_ringbuf.c')
0 files changed, 0 insertions, 0 deletions