Re: [PATCH bpf-next v9 0/2] bpf: htab: Reduce memory use of hash maps
From: patchwork-bot+netdevbpf
Date: Thu Oct 15 2026 - 20:30:18 EST
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Thu, 8 Oct 2026 03:41:04 -0700 you wrote:
> Memory is expensive and scarce these days. This series reduces the
> memory use of BPF hash maps by eliminating the per-element overheads
> below. This saves up to 50% of per-element memory use for standard and
> PCPU hash maps. The memory use of LRU hash maps is unaffected.
>
> Map Type & Configuration | Old size | New size | Savings
>
> [...]
Here is the summary with links:
- [bpf-next,v9,1/2] bpf: htab: Split htab_elem_lru and htab_elem_pcpu off of htab_elem
https://git.kernel.org/bpf/bpf-next/c/26c9dc906692
- [bpf-next,v9,2/2] bpf: htab: Reduce elem_size by 8 bytes for small key sizes
https://git.kernel.org/bpf/bpf-next/c/0d0421c96f67
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html