public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: passt-dev@passt.top
Subject: Re: [PATCH v2 0/5] Cleanups to tcp socket pool handling
Date: Tue, 14 Feb 2023 17:27:46 +0100	[thread overview]
Message-ID: <20230214172746.7657d125@elisabeth> (raw)
In-Reply-To: <20230213234823.749379-1-david@gibson.dropbear.id.au>

On Tue, 14 Feb 2023 10:48:18 +1100
David Gibson <david@gibson.dropbear.id.au> wrote:

> This is a bit of a diversion from what I'm notionally working on at
> the moment.  While thinking about what we'd need to use the
> IP_TRANSPARENT socket option to broaden the cases where we can
> "splice", I noticed some inelegancies in how we handle the pool of
> pre-opened sockets in the TCP code, and well, here we are.
> 
> This makes a number of cleanups to the handling of these pools.  Most
> notably, tcp_splice_connect() now has simpler semantics: it now always
> runs in the init namespace, and is always given a pre-opened socket
> (which could be in the guest ns).
> 
> Changes since v1:
>  * Rebased
>  * Improved wording of some commit messages
> 
> David Gibson (5):
>   tcp: Make a helper to refill each socket pool
>   tcp: Split init and ns cases for tcp_sock_refill()
>   tcp: Move socket pool declarations around
>   tcp: Split pool lookup from creating new sockets in
>     tcp_conn_new_sock()
>   tcp: Improve handling of fallback if socket pool is empty on new
>     splice

Applied too.

-- 
Stefano


      parent reply	other threads:[~2023-02-14 16:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-13 23:48 [PATCH v2 0/5] Cleanups to tcp socket pool handling David Gibson
2023-02-13 23:48 ` [PATCH v2 1/5] tcp: Make a helper to refill each socket pool David Gibson
2023-02-13 23:48 ` [PATCH v2 2/5] tcp: Split init and ns cases for tcp_sock_refill() David Gibson
2023-02-13 23:48 ` [PATCH v2 3/5] tcp: Move socket pool declarations around David Gibson
2023-02-13 23:48 ` [PATCH v2 4/5] tcp: Split pool lookup from creating new sockets in tcp_conn_new_sock() David Gibson
2023-02-13 23:48 ` [PATCH v2 5/5] tcp: Improve handling of fallback if socket pool is empty on new splice David Gibson
2023-02-14 16:27 ` Stefano Brivio [this message]

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=20230214172746.7657d125@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=passt-dev@passt.top \
    /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.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).