diff options
| author | Emil Tsalapatis <emil@etsalapatis.com> | 2026-04-26 22:03:36 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-27 04:12:22 +0300 |
| commit | 86426a28c52d756a5edbe29885716128b8915991 (patch) | |
| tree | 912a5b294ee80a8c41727048e3050fcf981b59b4 /include/linux/debugobjects.h | |
| parent | cfc00618b9dfc75cd507f1a4f0d83b4429627399 (diff) | |
| download | linux-86426a28c52d756a5edbe29885716128b8915991.tar.xz | |
selftests/bpf: Add buddy allocator for libarena
Add a byte-oriented buddy allocator for libarena. The buddy
allocator provides an alloc/free interface for small arena allocations
ranging from 16 bytes to 512 KiB. Lower allocations values are rounded
up to 16 bytes. The buddy allocator does not handle larger allocations
that can instead use the existing bpf_arena_{alloc, free}_pages() kfunc.
Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
Link: https://lore.kernel.org/r/20260426190338.4615-7-emil@etsalapatis.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
