Skip to content

tcp/dcpp: Un-pin tw_timer

Valentin Schneider bpf dccp linux-rt-users lkml ltp netdev oe-lkp 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 5 repliesIn review
  2. v41 patch 2 repliesSuperseded
  3. v31 patch 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches7 repliesSuperseded
v1 RFC1 patch4 repliesSuperseded

Changes in v5 from the cover letter

++++++++

o Rebased against latest Linus' tree
o Converted tw_timer into a delayed work following Jakub's bug report on v4
http://lore.kernel.org/r/[email protected]

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2SQUASH: tcp/dcpp: Convert timewait timer into a delayed_workinclude/net/inet_timewait_sock.h net/ipv4/inet_diag.c net/ipv4/inet_timewait_sock.c +4 more+15 -130 replies
2/2tcp/dcpp: Un-pin tw_timerinclude/net/inet_timewait_sock.h net/dccp/minisocks.c net/ipv4/inet_timewait_sock.c +1 more+55 -280 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/2] tcp/dcpp: Un-pin tw_timer

Hi,

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

The first patch is a new one stemming from Jakub's bug reported. It's there mainly to make the reviewing a bit easier, but as it changes behaviour it should be squashed with the second one.

Revisions
=========

v4 -> v5
++++++++

o Rebased against latest Linus' tree
o Converted tw_timer into a delayed work following Jakub's bug report on v4
http://lore.kernel.org/r/[email protected]

v3 -> v4
++++++++

o Rebased against latest Linus' tree
o Added ehash lock usage to serialize scheduling vs descheduling of the tw_timer (Paolo)

v2 -> v3
++++++++

o Dropped bh_disable patch
o Rebased against latest Linus' tree

RFCv1 -> v2
++++++++

o Added comment in inet_twsk_deschedule_put() to highlight the race
o Added bh_disable patch

Valentin Schneider (2):
SQUASH: tcp/dcpp: Convert timewait timer into a delayed_work tcp/dcpp: Un-pin tw_timer

 include/net/inet_timewait_sock.h              |  8 +-
 net/dccp/minisocks.c                          |  9 +--
 net/ipv4/inet_diag.c                          |  2 +-
 net/ipv4/inet_timewait_sock.c                 | 73 +++++++++++++------
 net/ipv4/tcp_ipv4.c                           |  2 +-
 net/ipv4/tcp_minisocks.c                      |  9 +--
 net/ipv6/tcp_ipv6.c                           |  2 +-
 .../selftests/bpf/progs/bpf_iter_tcp4.c       |  2 +-
 .../selftests/bpf/progs/bpf_iter_tcp6.c       |  2 +-
 9 files changed, 69 insertions(+), 40 deletions(-)

--
2.43.0