[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210325180817.840042-1-eric.dumazet@gmail.com>
Date: Thu, 25 Mar 2021 11:08:12 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: [PATCH net-next 0/5] net: use less storage for most sysctl
From: Eric Dumazet <edumazet@...gle.com>
This patch series adds a new sysctl type, to allow using u8 instead of
"int" or "long int" types.
Then we convert mosts sysctls found in struct netns_ipv4
to shrink it by three cache lines.
Eric Dumazet (5):
sysctl: add proc_dou8vec_minmax()
ipv4: shrink netns_ipv4 with sysctl conversions
ipv4: convert ip_forward_update_priority sysctl to u8
inet: convert tcp_early_demux and udp_early_demux to u8
tcp: convert elligible sysctls to u8
fs/proc/proc_sysctl.c | 6 ++
include/linux/sysctl.h | 2 +
include/net/netns/ipv4.h | 106 +++++++++----------
kernel/sysctl.c | 65 ++++++++++++
net/ipv4/sysctl_net_ipv4.c | 212 ++++++++++++++++++-------------------
5 files changed, 232 insertions(+), 159 deletions(-)
--
2.31.0.291.g576ba9dcdaf-goog
Powered by blists - more mailing lists