diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-29 13:40:22 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-30 18:46:52 -0700 |
commit | d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4 (patch) | |
tree | a39bbf34dff1ec02f5eca5fbda21c1941e0b9c08 /net/core/dev.c | |
parent | a86a0661b86f310c0b73a30c829648864f0b2619 (diff) |
net: move sysctl_skb_defer_max to net_hotdata
sysctl_skb_defer_max is used in TCP fast path,
move it to net_hodata.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240429134025.1233626-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index c9e59eff8ec8..cd7ba50eac15 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4450,7 +4450,6 @@ EXPORT_SYMBOL(__dev_direct_xmit); *************************************************************************/ static DEFINE_PER_CPU(struct task_struct *, backlog_napi); -unsigned int sysctl_skb_defer_max __read_mostly = 64; int weight_p __read_mostly = 64; /* old backlog weight */ int dev_weight_rx_bias __read_mostly = 1; /* bias for backlog weight */ int dev_weight_tx_bias __read_mostly = 1; /* bias for output_queue quota */ |