All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Begunkov <asml.silence@gmail.com>
To: io-uring@vger.kernel.org
Cc: asml.silence@gmail.com
Subject: [PATCH 0/5] various net improvements
Date: Mon, 31 Mar 2025 17:17:57 +0100	[thread overview]
Message-ID: <cover.1743437358.git.asml.silence@gmail.com> (raw)

Patch 1 prevents checking registered buffers against access_ok().
Patches 4-5 simplify the use of req->buf_index, which now will
store only selected buffer bid and not bounce back and forth
between bgid and bid.

Pavel Begunkov (5):
  io_uring/net: avoid import_ubuf for regvec send
  io_uring/net: don't use io_do_buffer_select at prep
  io_uring: set IMPORT_BUFFER in generic send setup
  io_uring/kbuf: pass bgid to io_buffer_select()
  io_uring: don't store bgid in req->buf_index

 include/linux/io_uring_types.h |  3 +--
 io_uring/kbuf.c                | 15 ++++++--------
 io_uring/kbuf.h                |  3 ++-
 io_uring/net.c                 | 38 ++++++++++++++--------------------
 io_uring/rw.c                  |  5 ++++-
 io_uring/rw.h                  |  2 ++
 6 files changed, 31 insertions(+), 35 deletions(-)

-- 
2.48.1


             reply	other threads:[~2025-03-31 16:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-31 16:17 Pavel Begunkov [this message]
2025-03-31 16:17 ` [PATCH 1/5] io_uring/net: avoid import_ubuf for regvec send Pavel Begunkov
2025-03-31 16:17 ` [PATCH 2/5] io_uring/net: don't use io_do_buffer_select at prep Pavel Begunkov
2025-03-31 16:18 ` [PATCH 3/5] io_uring: set IMPORT_BUFFER in generic send setup Pavel Begunkov
2025-03-31 16:18 ` [PATCH 4/5] io_uring/kbuf: pass bgid to io_buffer_select() Pavel Begunkov
2025-03-31 16:18 ` [PATCH 5/5] io_uring: don't store bgid in req->buf_index Pavel Begunkov
2025-03-31 19:06 ` [PATCH 0/5] various net improvements Jens Axboe
2025-03-31 19:07   ` Jens Axboe

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=cover.1743437358.git.asml.silence@gmail.com \
    --to=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.org \
    /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 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.