aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2025-04-01 14:22:49 +0800
committerAlexei Starovoitov <ast@kernel.org>2025-04-09 20:12:54 -0700
commit6704b1e8cfc5eed264065735fe00a1dd8a0bffef (patch)
tree3dfc0e96e3a895ac80bef6bb9d375b2532022933 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentbpf: Add is_fd_htab() helper (diff)
downloadlinux-6704b1e8cfc5eed264065735fe00a1dd8a0bffef.tar.gz
linux-6704b1e8cfc5eed264065735fe00a1dd8a0bffef.zip
bpf: Don't allocate per-cpu extra_elems for fd htab
The update of element in fd htab is in-place now, therefore, there is no need to allocate per-cpu extra_elems, just remove it. Acked-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20250401062250.543403-6-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions