[PATCH net-next 0/3] net: better packing of global vars
From: Eric Dumazet <hidden>
Date: 2021-11-16 02:17:40
From: Eric Dumazet <edumazet@google.com>
First two patches avoid holes in data section,
and last patch makes sure some siphash keys are contained
in a single cache line.
Eric Dumazet (3):
once: use __section(".data.once")
net: use .data.once section in netdev_level_once()
net: align static siphash keys
include/linux/netdevice.h | 2 +-
include/linux/once.h | 2 +-
include/linux/siphash.h | 2 ++
net/core/flow_dissector.c | 2 +-
net/core/secure_seq.c | 4 ++--
net/ipv4/route.c | 2 +-
net/ipv4/syncookies.c | 2 +-
net/ipv6/route.c | 2 +-
net/ipv6/syncookies.c | 2 +-
net/netfilter/nf_conntrack_core.c | 4 ++--
net/netfilter/nf_conntrack_expect.c | 2 +-
net/netfilter/nf_conntrack_netlink.c | 2 +-
net/netfilter/nf_nat_core.c | 2 +-
13 files changed, 16 insertions(+), 14 deletions(-)
--
2.34.0.rc1.387.gb447b232ab-goog