summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEmil Tsalapatis <emil@etsalapatis.com>2026-06-02 03:41:18 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-06-02 04:42:33 +0300
commitb9b23fe1761117f4a0109a25d16d337c900437ad (patch)
tree6598e3bde76bd7fb1ee38c389dd67d1ae5fd8bc8 /include/linux
parent3e924e9272c80939677aa6902aced311c85fe48c (diff)
downloadlinux-b9b23fe1761117f4a0109a25d16d337c900437ad.tar.xz
selftests/bpf: Remove __arg_arena from the codebase
Now that BPF __arg_arena has been subsumed by __arena, remove __arg_arena from the codebase. This way the user has one fewer annotation to worry about. To remove __arg_arena we remove the typedefs we were previously using to minimize __arena annotations. This is because __arena now also includes a BTF type tag, which is ignored for non-pointer types. As a result, we cannot capture the whole __arena annotation inside a typedef and need to directly annotate the pointer type when declaring the variable. The extra verbosity is worth it because the use of the __arena tag is intuitive to the programmer and removes the __arg_arena tag that has been a consistent source of confusion for users. The typedefs can be reintroduced later (without __arg_arena) once compilers start supporting BTF type tags for non-pointer types. Acked-by: Eduard Zingerman <eddyz87@gmail.com> Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com> Link: https://lore.kernel.org/r/20260602004120.17087-5-emil@etsalapatis.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions