]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Remove leftover accounting in htab_map_mem_usage after rqspinlock
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 20 Jan 2026 12:55:01 +0000 (13:55 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 20 Jan 2026 19:28:02 +0000 (11:28 -0800)
commit713edc71449f122491f8860be49b40f27d5f46b5
tree2f49a50a7b77db9cb757c726165d5bf171bdc68c
parentef7d4e42d16f74b123c86c9195ba5136046cee57
bpf: Remove leftover accounting in htab_map_mem_usage after rqspinlock

After commit 4fa8d68aa53e ("bpf: Convert hashtab.c to rqspinlock")
we no longer use HASHTAB_MAP_LOCK_{COUNT,MASK} as the per-CPU
map_locked[HASHTAB_MAP_LOCK_COUNT] array got removed from struct
bpf_htab. Right now it is still accounted for in htab_map_mem_usage.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/09703eb6bb249f12b1d5253b5a50a0c4fa239d27.1768913513.git.daniel@iogearbox.net
kernel/bpf/hashtab.c