diff options
author | 2024-10-04 15:34:42 -0700 | |
---|---|---|
committer | 2024-10-04 15:34:43 -0700 | |
commit | 2f651683553694c28fcc2d7544a5b223aa4ac9d8 (patch) | |
tree | df289ef19ee340cfcca7a6582f13037978ae706f /net/dsa/port.c | |
parent | Merge branch 'selftests-net-ioam-add-tunsrc-support' (diff) | |
parent | tcp: add a fast path in tcp_delack_timer() (diff) | |
download | wireguard-linux-2f651683553694c28fcc2d7544a5b223aa4ac9d8.tar.xz wireguard-linux-2f651683553694c28fcc2d7544a5b223aa4ac9d8.zip |
Merge branch 'tcp-add-fast-path-in-timer-handlers'
Eric Dumazet says:
====================
tcp: add fast path in timer handlers
As mentioned in Netconf 2024:
TCP retransmit and delack timers are not stopped from
inet_csk_clear_xmit_timer() because we do not define
INET_CSK_CLEAR_TIMERS.
Enabling INET_CSK_CLEAR_TIMERS leads to lower performance,
mainly because del_timer() and mod_timer() happen from
different cpus quite often.
What we can do instead is to add fast paths to tcp_write_timer()
and tcp_delack_timer() to avoid socket spinlock acquisition.
====================
Link: https://patch.msgid.link/20241002173042.917928-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/port.c')
0 files changed, 0 insertions, 0 deletions