From: Paolo Abeni <pabeni@redhat.com>
To: mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-next 3/7] mptcp: let the retrans scheduler do its job
Date: Thu, 6 Aug 2026 09:39:36 +0200 [thread overview]
Message-ID: <e0061681-7355-4c4e-96df-030ac8123eb7@redhat.com> (raw)
In-Reply-To: <362268703ac205e887e5bbc50f92f9099792a3d8.1785943854.git.pabeni@redhat.com>
On 8/5/26 6:17 PM, Paolo Abeni wrote:
> @@ -2856,15 +2854,60 @@ static void __mptcp_retrans(struct sock *sk)
> struct mptcp_sock *msk = mptcp_sk(sk);
> struct mptcp_subflow_context *subflow;
> struct mptcp_data_frag *dfrag;
> + u64 retrans_seq, sent_seq;
> + bool need_retrans;
> int err, len;
>
> mptcp_pm_chk_stale(msk);
>
> - mptcp_clean_una_wakeup(sk);
> + for (;;) {
> + /* Get an updated and consistent rtx queue status. */
> + mptcp_data_lock(sk);
> + __mptcp_clean_una_wakeup(sk);
> + retrans_seq = msk->snd_una;
> + dfrag = mptcp_rtx_head(sk);
> + need_retrans = !!dfrag;
> + mptcp_data_unlock(sk);
too much cleanup here. This needs more work
/P
next prev parent reply other threads:[~2026-08-06 7:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-05 15:52 [PATCH mptcp-next 0/7] mptcp: address stall under memory pressure Paolo Abeni
2026-08-05 16:17 ` [PATCH mptcp-next 1/7] mptcp: move the retrans loop to a separate helper Paolo Abeni
2026-08-05 16:17 ` [PATCH mptcp-next 2/7] mptcp: move the stale logic out of retrans scheduler Paolo Abeni
2026-08-06 9:31 ` Geliang Tang
2026-08-06 16:57 ` Paolo Abeni
2026-08-05 16:17 ` [PATCH mptcp-next 3/7] mptcp: let the retrans scheduler do its job Paolo Abeni
2026-08-06 7:39 ` Paolo Abeni [this message]
2026-08-05 16:17 ` [PATCH mptcp-next 4/7] mptcp: explicitly drop over memory limits Paolo Abeni
2026-08-05 16:17 ` [PATCH mptcp-next 5/7] mptcp: enforce hard limit on backlog flushing Paolo Abeni
2026-08-05 16:17 ` [PATCH mptcp-next 6/7] mptcp: avoid code duplication in __mptcp_move_skb() Paolo Abeni
2026-08-05 16:17 ` [PATCH mptcp-next 7/7] mptcp: implemented OoO queue pruning Paolo Abeni
2026-08-05 17:30 ` [PATCH mptcp-next 0/7] mptcp: address stall under memory pressure MPTCP CI
2026-08-06 9:16 ` Geliang Tang
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=e0061681-7355-4c4e-96df-030ac8123eb7@redhat.com \
--to=pabeni@redhat.com \
--cc=mptcp@lists.linux.dev \
/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