mbox series

[net-next,0/5] net: three additions to net_hotdata

Message ID 20240429134025.1233626-1-edumazet@google.com (mailing list archive)
Headers show
Series net: three additions to net_hotdata | expand

Message

Eric Dumazet April 29, 2024, 1:40 p.m. UTC
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

Comments

David Ahern April 29, 2024, 5:12 p.m. UTC | #1
On 4/29/24 7:40 AM, Eric Dumazet wrote:
> 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
> 

For the set:

Reviewed-by: David Ahern <dsahern@kernel.org>
patchwork-bot+netdevbpf@kernel.org May 1, 2024, 2:10 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 29 Apr 2024 13:40:20 +0000 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net-next,1/5] net: move sysctl_max_skb_frags to net_hotdata
    https://git.kernel.org/netdev/net-next/c/a86a0661b86f
  - [net-next,2/5] net: move sysctl_skb_defer_max to net_hotdata
    https://git.kernel.org/netdev/net-next/c/d480dc76d9f8
  - [net-next,3/5] tcp: move tcp_out_of_memory() to net/ipv4/tcp.c
    https://git.kernel.org/netdev/net-next/c/dda4d96acb20
  - [net-next,4/5] net: add <net/proto_memory.h>
    https://git.kernel.org/netdev/net-next/c/f3d93817fba3
  - [net-next,5/5] net: move sysctl_mem_pcpu_rsv to net_hotdata
    https://git.kernel.org/netdev/net-next/c/c204fef97ee6

You are awesome, thank you!