[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240429134025.1233626-1-edumazet@google.com>
Date: Mon, 29 Apr 2024 13:40:20 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/5] net: three additions to net_hotdata
This series moves three fast path sysctls to net_hotdata.
To avoid <net/hotdata.h> inclusion from <net/sock.h>,
create <net/proto_memory.h> to hold proto memory definitions.
Eric Dumazet (5):
net: move sysctl_max_skb_frags to net_hotdata
net: move sysctl_skb_defer_max to net_hotdata
tcp: move tcp_out_of_memory() to net/ipv4/tcp.c
net: add <net/proto_memory.h>
net: move sysctl_mem_pcpu_rsv to net_hotdata
include/linux/skbuff.h | 2 -
include/net/hotdata.h | 3 ++
include/net/proto_memory.h | 83 ++++++++++++++++++++++++++++++++++++++
include/net/sock.h | 78 -----------------------------------
include/net/tcp.h | 10 +----
net/core/dev.c | 1 -
net/core/dev.h | 1 -
net/core/hotdata.c | 7 +++-
net/core/skbuff.c | 7 +---
net/core/sock.c | 2 +-
net/core/sysctl_net_core.c | 7 ++--
net/ipv4/proc.c | 1 +
net/ipv4/tcp.c | 14 ++++++-
net/ipv4/tcp_input.c | 1 +
net/ipv4/tcp_output.c | 1 +
net/mptcp/protocol.c | 3 +-
net/sctp/sm_statefuns.c | 1 +
17 files changed, 117 insertions(+), 105 deletions(-)
create mode 100644 include/net/proto_memory.h
--
2.44.0.769.g3c40516874-goog
Powered by blists - more mailing lists