Skip to content

various net improvements

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5io_uring/net: avoid import_ubuf for regvec sendio_uring/net.c+2 -00 replies
2/5io_uring/net: don't use io_do_buffer_select at prepio_uring/net.c+7 -150 replies
3/5io_uring: set IMPORT_BUFFER in generic send setupio_uring/net.c+3 -30 replies
4/5io_uring/kbuf: pass bgid to io_buffer_select()io_uring/kbuf.c io_uring/kbuf.h io_uring/net.c +2 more+13 -90 replies
5/5io_uring: don't store bgid in req->buf_indexinclude/linux/io_uring_types.h io_uring/kbuf.c io_uring/kbuf.h +1 more+8 -100 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] various net improvements

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(-)
Signature · 1 line
2.48.1