Skip to content

random region / rings cleanups

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 Latest7 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7io_uring: deduplicate array_size in io_allocate_scq_uringsio_uring/io_uring.c+5 -30 replies
2/7io_uring: sanity check sizes before attempting allocationio_uring/io_uring.c+12 -160 replies
3/7io_uring: use no mmap safe region helpers on resizingio_uring/register.c+2 -20 replies
4/7io_uring: remove extra args from io_register_free_ringsio_uring/register.c+5 -60 replies
5/7io_uring: don't free never created regionsio_uring/register.c+2 -30 replies
6/7io_uring/kbuf: use io_create_region for kbuf creationio_uring/kbuf.c+1 -10 replies
7/7io_uring: only publish fully handled mem regionio_uring/memmap.c io_uring/memmap.h io_uring/register.c+18 -260 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGabriel Krisman Bertazi
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] random region / rings cleanups

Random stuff that will my future changes simpler but flushing it out as it looks like a fine cleanup series. It also replaces io_create_region_mmap_safe() calls with non-mmap version where it's possible, and removes the helper in Patch 7 while handling io_register_mem_region() a bit more gracefully.

Pavel Begunkov (7):
io_uring: deduplicate array_size in io_allocate_scq_urings
io_uring: sanity check sizes before attempting allocation
io_uring: use no mmap safe region helpers on resizing
io_uring: remove extra args from io_register_free_rings
io_uring: don't free never created regions io_uring/kbuf: use io_create_region for kbuf creation
io_uring: only publish fully handled mem region

 io_uring/io_uring.c | 26 ++++++++++++--------------
 io_uring/kbuf.c     |  2 +-
 io_uring/memmap.c   | 21 ---------------------
 io_uring/memmap.h   | 12 ++++++++++++
 io_uring/register.c | 29 ++++++++++++++---------------
 5 files changed, 39 insertions(+), 51 deletions(-)
Signature · 1 line
2.49.0