Re: [PATCH bpf-next v2 0/4] bpf: Add memory usage for arena and selftest

From: patchwork-bot+netdevbpf

Date: Sun Jul 19 2026 - 12:20:46 EST


Hello:

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

On Fri, 17 Jul 2026 19:37:00 +0800 you wrote:
> arena is the only map type whose map_mem_usage() still returns 0, so
> bpftool and fdinfo always show 0 memlock for it no matter how many pages
> it holds. This series adds the accounting, runs the arena selftests
> serially so they don't OOM a small CI VM, and adds a test for it.
>
> v1 -> v2:
> - split the scratch_page -> arena refactor into a prep patch (no
> functional change)
> - use WRITE_ONCE() for nr_pages to pair with the lockless reader
> - reword the "run serially" commit message
> - selftest: alloc prog returns 0 so the failure check is reached
>
> [...]

Here is the summary with links:
- [bpf-next,v2,1/4] bpf: Pass arena instead of scratch_page to the pte callbacks
https://git.kernel.org/bpf/bpf-next/c/f8248ac8f044
- [bpf-next,v2,2/4] bpf: Add memory usage for arena
https://git.kernel.org/bpf/bpf-next/c/89318afb1414
- [bpf-next,v2,3/4] selftests/bpf: Run arena tests serially
https://git.kernel.org/bpf/bpf-next/c/a14f9ba080c1
- [bpf-next,v2,4/4] selftests/bpf: Add tests for memory usage for arena
https://git.kernel.org/bpf/bpf-next/c/29e4bcf12604

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