net: use less storage for most sysctl
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
Patches in v1 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sysctl: add proc_dou8vec_minmax()fs/ include/ kernel/ | +73 | 0 replies | Applied |
| 2/5 | ipv4: shrink netns_ipv4 with sysctl conversionsinclude/ net/ | +48 | 0 replies | Applied |
| 3/5 | ipv4: convert ip_forward_update_priority sysctl to u8include/ net/ | +3 | 0 replies | Applied |
| 4/5 | inet: convert tcp_early_demux and udp_early_demux to u8include/ net/ | +6 | 0 replies | Applied |
| 5/5 | tcp: convert elligible sysctls to u8include/ net/ | +102 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/5] net: use less storage for most sysctl
From: Eric Dumazet <[email protected]>
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(-)
Signature · 1 line
2.31.0.291.g576ba9dcdaf-goog