diff options
| author | Emil Tsalapatis <emil@etsalapatis.com> | 2026-04-26 15:03:37 -0400 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-26 18:12:22 -0700 |
| commit | b1487dc1b181ad6aaea95357030a421bb180d8e7 (patch) | |
| tree | 32ae8a993b62897c48ece6654a241e464cbf3a63 /include/linux/cnum.h | |
| parent | 86426a28c52d756a5edbe29885716128b8915991 (diff) | |
selftests/bpf: Add selftests for libarena buddy allocator
Introduce selftests for the buddy allocator with and without
ASAN. Add the libarena selftests both to the libarena test
runner and to test_progs, so that they are a) available when
libarena is pulled as a standalone library, and b) exercised
along with all other test programs in this directory.
ASAN for libarena requires LLVM 22. Add logic in the top-level
selftests Makefile to only compile the ASAN variant if the
compiler supports it, otherwise skip the test.
Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
Link: https://lore.kernel.org/r/20260426190338.4615-8-emil@etsalapatis.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/cnum.h')
0 files changed, 0 insertions, 0 deletions
