]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf: Don't allocate per-cpu extra_elems for fd htab
authorHou Tao <houtao1@huawei.com>
Tue, 1 Apr 2025 06:22:49 +0000 (14:22 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 10 Apr 2025 03:12:54 +0000 (20:12 -0700)
commit6704b1e8cfc5eed264065735fe00a1dd8a0bffef
tree3dfc0e96e3a895ac80bef6bb9d375b2532022933
parente8a65856c75d518d0bb15f38c90a4fd264ba1d3a
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>
kernel/bpf/hashtab.c