diff options
author | Eric Dumazet | 2024-02-27 21:01:04 +0000 |
---|---|---|
committer | Jakub Kicinski | 2024-02-28 20:22:03 -0800 |
commit | 1200097fa8f0d8e8ddfe5c554d8fa2bc03b2df92 (patch) | |
tree | ac87c697e3641810532af04a5dc19cfb15cec2bc /net/batman-adv | |
parent | 99123622050f10ca9148a0fffba2de0afd6cdfff (diff) |
net: call skb_defer_free_flush() from __napi_busy_loop()
skb_defer_free_flush() is currently called from net_rx_action()
and napi_threaded_poll().
We should also call it from __napi_busy_loop() otherwise
there is the risk the percpu queue can grow until an IPI
is forced from skb_attempt_defer_free() adding a latency spike.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Samiullah Khawaja <skhawaja@google.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240227210105.3815474-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions