Message ID | 20210325180817.840042-1-eric.dumazet@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | net: use less storage for most sysctl | expand |
Hello: This series was applied to netdev/net-next.git (refs/heads/master): On Thu, 25 Mar 2021 11:08:12 -0700 you wrote: > From: Eric Dumazet <edumazet@google.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. > > [...] Here is the summary with links: - [net-next,1/5] sysctl: add proc_dou8vec_minmax() https://git.kernel.org/netdev/net-next/c/cb9444130662 - [net-next,2/5] ipv4: shrink netns_ipv4 with sysctl conversions https://git.kernel.org/netdev/net-next/c/4b6bbf17d4e1 - [net-next,3/5] ipv4: convert ip_forward_update_priority sysctl to u8 https://git.kernel.org/netdev/net-next/c/1c69dedc8fa7 - [net-next,4/5] inet: convert tcp_early_demux and udp_early_demux to u8 https://git.kernel.org/netdev/net-next/c/2932bcda070d - [net-next,5/5] tcp: convert elligible sysctls to u8 https://git.kernel.org/netdev/net-next/c/4ecc1baf362c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
From: Eric Dumazet <edumazet@google.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(-)