netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: netdev@vger.kernel.org
Cc: Paolo Abeni <pabeni@redhat.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>,
	vschneid@redhat.com, tglozar@redhat.com, bigeasy@linutronix.de,
	Florian Westphal <fw@strlen.de>
Subject: [PATCH net-next v7 0/3] net: tcp: un-pin tw timer
Date: Tue,  4 Jun 2024 16:08:46 +0200	[thread overview]
Message-ID: <20240604140903.31939-1-fw@strlen.de> (raw)

This is v7 of the series where the tw_timer is un-pinned to get rid of
interferences in isolated CPUs setups.

First patch makes necessary preparations, existing code relies on
TIMER_PINNED to avoid races.

Second patch un-pins the TW timer. Could be folded into the first one,
but it might help wrt. bisection.

Third patch is a minor cleanup to move a helper from .h to the only
remaining compilation unit.

Tested with iperf3 and stress-ng socket mode.

Changes since previous iteration:
 - use timer_shutdown_sync, ehash lock can be released before
 - fix 'ddcp' typo in patch subject

Florian Westphal (2):
  net: tcp: un-pin the tw_timer
  tcp: move inet_twsk_schedule helper out of header

Valentin Schneider (1):
  net: tcp/dccp: prepare for tw_timer un-pinning

 include/net/inet_timewait_sock.h | 11 +++---
 net/dccp/minisocks.c             |  3 +-
 net/ipv4/inet_timewait_sock.c    | 59 +++++++++++++++++++++++++++-----
 net/ipv4/tcp_minisocks.c         |  3 +-
 4 files changed, 57 insertions(+), 19 deletions(-)

-- 
2.44.2


             reply	other threads:[~2024-06-04 14:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-04 14:08 Florian Westphal [this message]
2024-06-04 14:08 ` [PATCH net-next v7 1/3] net: tcp/dccp: prepare for tw_timer un-pinning Florian Westphal
2024-06-05  6:57   ` Eric Dumazet
2024-06-05  9:21   ` Sebastian Andrzej Siewior
2024-06-06 10:01   ` Valentin Schneider
2024-06-04 14:08 ` [PATCH net-next v7 2/3] net: tcp: un-pin the tw_timer Florian Westphal
2024-06-05  6:59   ` Eric Dumazet
2024-06-05  8:51   ` Sebastian Andrzej Siewior
2024-06-04 14:08 ` [PATCH net-next v7 3/3] tcp: move inet_twsk_schedule helper out of header Florian Westphal
2024-06-05  7:00   ` Eric Dumazet
2024-06-05  9:21 ` [PATCH net-next v7 0/3] net: tcp: un-pin tw timer Sebastian Andrzej Siewior
2024-06-06 10:01 ` Valentin Schneider

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240604140903.31939-1-fw@strlen.de \
    --to=fw@strlen.de \
    --cc=bigeasy@linutronix.de \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=tglozar@redhat.com \
    --cc=vschneid@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).