Skip to content

inet: shrink netns_ipv{4|6}

Eric Dumazet netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesApplied 9/9

Patches in v1 All 9 applied

#Subject and filesSizeRepliesApplied
1/9inet: shrink inet_timewait_death_row by 48 bytesinclude/net/netns/ipv4.h+5 -20 repliesApplied
2/9inet: shrink netns_ipv4 by another cache lineinclude/net/netns/ipv4.h+3 -30 repliesApplied
3/9ipv4: convert fib_notify_on_flag_change sysctl to u8include/net/netns/ipv4.h net/ipv4/sysctl_net_ipv4.c+3 -30 repliesApplied
4/9ipv4: convert udp_l3mdev_accept sysctl to u8include/net/netns/ipv4.h net/ipv4/sysctl_net_ipv4.c+3 -30 repliesApplied
5/9ipv4: convert fib_multipath_{use_neigh|hash_policy} sysctls to u8include/net/netns/ipv4.h net/ipv4/sysctl_net_ipv4.c+6 -60 repliesApplied
6/9ipv4: convert igmp_link_local_mcast_reports sysctl to u8include/net/netns/ipv4.h net/ipv4/sysctl_net_ipv4.c+3 -30 repliesApplied
7/9tcp: convert tcp_comp_sack_nr sysctl to u8include/net/netns/ipv4.h net/ipv4/sysctl_net_ipv4.c+3 -50 repliesApplied
8/9ipv6: convert elligible sysctls to u8include/net/netns/ipv6.h net/ipv6/icmp.c net/ipv6/sysctl_net_ipv6.c+36 -380 repliesApplied
9/9ipv6: move ip6_dst_ops first in netns_ipv6include/net/netns/ipv6.h+3 -10 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/9] inet: shrink netns_ipv{4|6}

From: Eric Dumazet <[email protected]>

This patch series work on reducing footprint of netns_ipv4 and netns_ipv6. Some sysctls are converted to bytes, and some fields are moves to reduce number of holes and paddings.

Eric Dumazet (9):
inet: shrink inet_timewait_death_row by 48 bytes
inet: shrink netns_ipv4 by another cache line
ipv4: convert fib_notify_on_flag_change sysctl to u8
ipv4: convert udp_l3mdev_accept sysctl to u8
ipv4: convert fib_multipath_{use_neigh|hash_policy} sysctls to u8
ipv4: convert igmp_link_local_mcast_reports sysctl to u8
tcp: convert tcp_comp_sack_nr sysctl to u8
ipv6: convert elligible sysctls to u8
ipv6: move ip6_dst_ops first in netns_ipv6

 include/net/netns/ipv4.h   | 25 ++++++++++++++-----------
 include/net/netns/ipv6.h   | 28 +++++++++++++++-------------
 net/ipv4/sysctl_net_ipv4.c | 26 ++++++++++++--------------
 net/ipv6/icmp.c            | 12 ++++++------
 net/ipv6/sysctl_net_ipv6.c | 38 ++++++++++++++++++--------------------
 5 files changed, 65 insertions(+), 64 deletions(-)
Signature · 1 line
2.31.0.291.g576ba9dcdaf-goog