Re: [PATCH v2] libbpf: fix BPF_MAP_TYPE_PERF_EVENT_ARRAY auto-pinning
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-28 16:40:18
Also in:
bpf, lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-28 16:40:18
Also in:
bpf, lkml
Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann [off-list ref]: On Fri, 25 Feb 2022 17:23:55 +0200 you wrote:
When a BPF map of type BPF_MAP_TYPE_PERF_EVENT_ARRAY doesn't have the max_entries parameter set, the map will be created with max_entries set to the number of available CPUs. When we try to reuse such a pinned map, map_is_reuse_compat will return false, as max_entries in the map definition differs from max_entries of the existing map, causing the following error: [...]
Here is the summary with links:
- [v2] libbpf: fix BPF_MAP_TYPE_PERF_EVENT_ARRAY auto-pinning
https://git.kernel.org/bpf/bpf-next/c/a4fbfdd7a160
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html