]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Align struct bpf_prog_stats
authorEric Dumazet <edumazet@google.com>
Fri, 11 Oct 2019 18:11:40 +0000 (11:11 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 11 Oct 2019 20:25:09 +0000 (22:25 +0200)
commit0e8012271b2c5e031854b2471a7456d695ef7a72
tree06a3567245faf5988d91f2733c4e68853c0ea695
parent2687b9ba1bf45ea7bfe29145f140a18cdfd2ba85
bpf: Align struct bpf_prog_stats

Do not risk spanning these small structures on two cache lines.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191011181140.2898-1-edumazet@google.com
include/linux/bpf.h