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)
commit84a081f60db63aaae3665118203506aa09a7f94f
tree06a3567245faf5988d91f2733c4e68853c0ea695
parent63098555cfe09a633b74a3c9963769c6d4df8432
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