* [MPTCP] Re: [RFC PATCH 04/12] mptcp: basic sndbuf autotuning
@ 2020-08-01 22:45 Florian Westphal
0 siblings, 0 replies; only message in thread
From: Florian Westphal @ 2020-08-01 22:45 UTC (permalink / raw)
To: mptcp
[-- Attachment #1: Type: text/plain, Size: 392 bytes --]
Paolo Abeni <pabeni(a)redhat.com> wrote:
> Let the msk sendbuf track the size of the larger subflow's
> send buffer.
>
> The update is performed just before try to send any data.
Looks good, small nit:
> + /* do auto tuning */
> + if (!(sk->sk_userlocks & SOCK_RCVBUF_LOCK) &&
> + sndbuf > READ_ONCE(sk->sk_sndbuf))
> + WRITE_ONCE(sk->sk_sndbuf, sndbuf);
SOCK_SNDBUF_LOCK
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-01 22:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-01 22:45 [MPTCP] Re: [RFC PATCH 04/12] mptcp: basic sndbuf autotuning Florian Westphal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.