]> 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)
commitdff6e3efe2bc24f68468db1c18b0eee796966e79
tree06a3567245faf5988d91f2733c4e68853c0ea695
parentd673c38d01ff19a0ea4e6f72575232a397ab298a
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