Re: [PATCH bpf v3 0/2] bpf: fix per-cpu initialization of a BPF_F_CPU created hash element
From: patchwork-bot+netdevbpf
Date: Thu Sep 24 2026 - 10:42:37 EST
Hello:
This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Thu, 24 Sep 2026 19:23:19 +0900 you wrote:
> A BPF_F_CPU update that creates a [lru_]percpu_hash element writes the
> named CPU's slot and leaves the others holding the recycled element's
> values, so a lookup of the new key returns a deleted key's per-cpu
> values.
>
> Patch 1 zero-fills the other CPUs. Patch 2 adds the selftest: the
> existing cpu_flag subtests always prime a key with BPF_F_ALL_CPUS
> first, so the create path is not covered today.
>
> [...]
Here is the summary with links:
- [bpf,v3,1/2] bpf: Zero-fill other CPUs when BPF_F_CPU creates a per-cpu hash element
https://git.kernel.org/bpf/bpf/c/c3a66e5f5bab
- [bpf,v3,2/2] selftests/bpf: Test per-cpu initialization of a BPF_F_CPU created element
https://git.kernel.org/bpf/bpf/c/3422808f4e95
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html