mbox series

[net-next,0/9] inet: shrink netns_ipv{4|6}

Message ID 20210331175213.691460-1-eric.dumazet@gmail.com
Headers show
Series inet: shrink netns_ipv{4|6} | expand

Message

Eric Dumazet March 31, 2021, 5:52 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

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(-)