net: move sysctl_max_skb_frags to net_hotdata
authorEric Dumazet <edumazet@google.com>
Mon, 29 Apr 2024 13:40:21 +0000 (13:40 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 1 May 2024 01:46:52 +0000 (18:46 -0700)
commita86a0661b86f310c0b73a30c829648864f0b2619
tree10d42f9dd27abd96fa68d6382bc6af06848c256d
parent05d6d492097c55f2d153fc3fd33cbe78e1e28e0a
net: move sysctl_max_skb_frags to net_hotdata

sysctl_max_skb_frags is used in TCP and MPTCP fast paths,
move it to net_hodata for better cache locality.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240429134025.1233626-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h
include/net/hotdata.h
net/core/hotdata.c
net/core/skbuff.c
net/core/sysctl_net_core.c
net/ipv4/tcp.c
net/mptcp/protocol.c