selftests/bpf: Add arena test case for 4Gbyte corner case
authorAlexei Starovoitov <ast@kernel.org>
Fri, 15 Mar 2024 02:18:34 +0000 (19:18 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 15 Mar 2024 21:24:06 +0000 (14:24 -0700)
commita90c5845db958701ddc7659bc4f6db6fa647e449
treeb97a172c0443649cceb63e430623d10f69b1a105
parent9a2d5a966b47e5657b22dfa257365b7ef2abc3c0
selftests/bpf: Add arena test case for 4Gbyte corner case

Check that 4Gbyte arena can be allocated and overflow/underflow access in
the first and the last page behaves as expected.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20240315021834.62988-5-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/prog_tests/verifier.c
tools/testing/selftests/bpf/progs/verifier_arena_large.c [new file with mode: 0644]