net: move sysctl_mem_pcpu_rsv to net_hotdata
sysctl_mem_pcpu_rsv is used in TCP fast path, 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-6-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
f3d93817fb
commit
c204fef97e
@@ -40,6 +40,7 @@ struct net_hotdata {
|
||||
int dev_rx_weight;
|
||||
int sysctl_max_skb_frags;
|
||||
int sysctl_skb_defer_max;
|
||||
int sysctl_mem_pcpu_rsv;
|
||||
};
|
||||
|
||||
#define inet_ehash_secret net_hotdata.tcp_protocol.secret
|
||||
|
||||
Reference in New Issue
Block a user