From: Jakub Kicinski Date: Fri, 4 Oct 2024 22:34:42 +0000 (-0700) Subject: Merge branch 'tcp-add-fast-path-in-timer-handlers' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2f651683553694c28fcc2d7544a5b223aa4ac9d8;p=users%2Fdwmw2%2Flinux.git 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 --- 2f651683553694c28fcc2d7544a5b223aa4ac9d8