diff options
author | Yauheni Kaliuta <[email protected]> | 2021-04-08 09:13:06 +0300 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-04-08 23:54:48 -0700 |
commit | 34090aaf256e469a39401cc04d5cd43275ccd97d (patch) | |
tree | f2683791eb274bb31683eba1ce1c7e520375f39b /tools/testing/selftests/bpf/prog_tests/ringbuf.c | |
parent | 7a85e4dfa7f5d052ae5016e96f1ee426a8870e78 (diff) |
selftests/bpf: mmap: Use runtime page size
Replace hardcoded 4096 with runtime value in the userspace part of
the test and set bpf table sizes dynamically according to the value.
Do not switch to ASSERT macros, keep CHECK, for consistency with the
rest of the test. Can be a separate cleanup patch.
Signed-off-by: Yauheni Kaliuta <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/ringbuf.c')
0 files changed, 0 insertions, 0 deletions