Re: [PATCH v2] selftests/bpf: Remove duplicate copies of the arena spinlock qnodes

From: patchwork-bot+netdevbpf

Date: Mon Aug 17 2026 - 15:02:50 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>:

On Tue, 18 Aug 2026 01:02:49 +0900 you wrote:
> bpf_arena_spin_lock.h defines its 64KB qnodes array in the header, so
> every translation unit including it emits a copy. __weak makes them all
> resolve to one instance, but bpftool gen object merges only the symbols
> and concatenates each input's .addr_space.1 bytes, leaving the surplus
> copies unreferenced in the linked object.
>
> libarena links ten such units, so nine copies were dead weight (bytes):
>
> [...]

Here is the summary with links:
- [v2] selftests/bpf: Remove duplicate copies of the arena spinlock qnodes
https://git.kernel.org/bpf/bpf-next/c/9d19ca5d0e8b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html