Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@xxxxxxxxxxxxx>: On Tue, 20 Feb 2024 15:50:01 -0800 you wrote: > From: Alexei Starovoitov <ast@xxxxxxxxxx> > > Back in 2018 the commit be95a845cc44 ("bpf: avoid false sharing of map refcount with max_entries") > added ____cacheline_aligned to "struct bpf_map" to make sure that fields like > refcnt don't share a cache line with max_entries that is used to bounds check > map access. That was done to make spectre style attacks harder. The main > mitigation is done via code similar to array_index_nospec(), of course. > This was an additional precaution. > It increased the size of "struct bpf_map" a little, but it's affect > on all other maps (like array) is significant, since "struct bpf_map" is > typically the first member in other map types. > > [...] Here is the summary with links: - [bpf-next] bpf: Shrink size of struct bpf_map/bpf_array. https://git.kernel.org/bpf/bpf-next/c/f86783991809 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html