Re: [PATCH bpf v4] bpf: zero-fill re-used per-cpu map element

2020-11-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf.git (refs/heads/master): On Wed, 4 Nov 2020 12:23:32 +0100 you wrote: > Zero-fill element values for all other cpus than current, just as > when not using prealloc. This is the only way the bpf program can > ensure known initial values for all cpus ('onal

Re: [PATCH bpf v4] bpf: zero-fill re-used per-cpu map element

2020-11-04 Thread Andrii Nakryiko
On Wed, Nov 4, 2020 at 3:26 AM David Verbeiren wrote: > > Zero-fill element values for all other cpus than current, just as > when not using prealloc. This is the only way the bpf program can > ensure known initial values for all cpus ('onallcpus' cannot be > set when coming from the bpf program).

[PATCH bpf v4] bpf: zero-fill re-used per-cpu map element

2020-11-04 Thread David Verbeiren
Zero-fill element values for all other cpus than current, just as when not using prealloc. This is the only way the bpf program can ensure known initial values for all cpus ('onallcpus' cannot be set when coming from the bpf program). The scenario is: bpf program inserts some elements in a per-cpu