diff options
author | Yauheni Kaliuta <yauheni.kaliuta@redhat.com> | 2021-04-08 09:13:06 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-04-08 23:54:48 -0700 |
commit | 34090aaf256e469a39401cc04d5cd43275ccd97d (patch) | |
tree | f2683791eb274bb31683eba1ce1c7e520375f39b /tools/arch/csky/include | |
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 <yauheni.kaliuta@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210408061310.95877-5-yauheni.kaliuta@redhat.com
Diffstat (limited to 'tools/arch/csky/include')
0 files changed, 0 insertions, 0 deletions