Skip to content

net: better packing of global vars

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3once: use __section(".data.once")include/linux/once.h+1 -10 repliesApplied
2/3net: use .data.once section in netdev_level_once()include/linux/netdevice.h+1 -10 repliesApplied
3/3net: align static siphash keysinclude/linux/siphash.h net/core/flow_dissector.c net/core/secure_seq.c +8 more+14 -120 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: better packing of global vars

From: Eric Dumazet <[email protected]>

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(-)
Signature · 1 line
2.34.0.rc1.387.gb447b232ab-goog