netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] tcp: set few options locklessly
@ 2023-08-04 14:46 Eric Dumazet
  2023-08-04 14:46 ` [PATCH net-next 1/6] tcp: set TCP_SYNCNT locklessly Eric Dumazet
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Eric Dumazet @ 2023-08-04 14:46 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: netdev, eric.dumazet, Soheil Hassas Yeganeh, Eric Dumazet

This series is avoiding the socket lock for six TCP options.

They are not heavily used, but this exercise can give
ideas for other parts of TCP/IP stack :)

Eric Dumazet (6):
  tcp: set TCP_SYNCNT locklessly
  tcp: set TCP_USER_TIMEOUT locklessly
  tcp: set TCP_KEEPINTVL locklessly
  tcp: set TCP_KEEPCNT locklessly
  tcp: set TCP_LINGER2 locklessly
  tcp: set TCP_DEFER_ACCEPT locklessly

 include/linux/tcp.h      |  2 +-
 net/ipv4/tcp.c           | 90 ++++++++++++++++------------------------
 net/ipv4/tcp_input.c     |  4 +-
 net/ipv4/tcp_minisocks.c |  2 +-
 net/ipv4/tcp_timer.c     | 48 ++++++++++++---------
 5 files changed, 68 insertions(+), 78 deletions(-)

-- 
2.41.0.640.ga95def55d0-goog


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-08-06  7:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04 14:46 [PATCH net-next 0/6] tcp: set few options locklessly Eric Dumazet
2023-08-04 14:46 ` [PATCH net-next 1/6] tcp: set TCP_SYNCNT locklessly Eric Dumazet
2023-08-04 14:55   ` Soheil Hassas Yeganeh
2023-08-04 14:46 ` [PATCH net-next 2/6] tcp: set TCP_USER_TIMEOUT locklessly Eric Dumazet
2023-08-04 15:49   ` Soheil Hassas Yeganeh
2023-08-04 14:46 ` [PATCH net-next 3/6] tcp: set TCP_KEEPINTVL locklessly Eric Dumazet
2023-08-04 15:50   ` Soheil Hassas Yeganeh
2023-08-04 14:46 ` [PATCH net-next 4/6] tcp: set TCP_KEEPCNT locklessly Eric Dumazet
2023-08-04 15:50   ` Soheil Hassas Yeganeh
2023-08-04 14:46 ` [PATCH net-next 5/6] tcp: set TCP_LINGER2 locklessly Eric Dumazet
2023-08-04 15:53   ` Soheil Hassas Yeganeh
2023-08-04 14:46 ` [PATCH net-next 6/6] tcp: set TCP_DEFER_ACCEPT locklessly Eric Dumazet
2023-08-04 18:14   ` Soheil Hassas Yeganeh
2023-08-06  7:30 ` [PATCH net-next 0/6] tcp: set few options locklessly patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).