Re: [PATCH bpf-next v2 0/3] bpf: account for local storage map elements memory

From: patchwork-bot+netdevbpf

Date: Mon Nov 30 2026 - 22:10:11 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Mon, 30 Nov 2026 20:14:01 +0000 you wrote:
> We started using task local storage within Tetragon and realized memlock
> omitted the memory used by map entries[^1] which is significant in our
> use case, this aims at making the memory usage more accurate.
>
> v2 changes:
> - use map->elem_count instead of walking the elements (alexei)
>
> [...]

Here is the summary with links:
- [bpf-next,v2,1/3] bpf: reuse local storage map link and unlink helpers
https://git.kernel.org/bpf/bpf-next/c/201c7e65f053
- [bpf-next,v2,2/3] bpf: account for local storage map elements memory
https://git.kernel.org/bpf/bpf-next/c/dfc29b069aca
- [bpf-next,v2,3/3] selftests/bpf: test task storage memory accounting
https://git.kernel.org/bpf/bpf-next/c/a6ba8c5d6d81

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