public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] random region / rings cleanups
@ 2025-10-16 13:23 Pavel Begunkov
  2025-10-16 13:23 ` [PATCH 1/7] io_uring: deduplicate array_size in io_allocate_scq_urings Pavel Begunkov
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Pavel Begunkov @ 2025-10-16 13:23 UTC (permalink / raw)
  To: io-uring; +Cc: asml.silence

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(-)

-- 
2.49.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-10-20 16:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-16 13:23 [PATCH 0/7] random region / rings cleanups Pavel Begunkov
2025-10-16 13:23 ` [PATCH 1/7] io_uring: deduplicate array_size in io_allocate_scq_urings Pavel Begunkov
2025-10-16 13:23 ` [PATCH 2/7] io_uring: sanity check sizes before attempting allocation Pavel Begunkov
2025-10-16 13:23 ` [PATCH 3/7] io_uring: use no mmap safe region helpers on resizing Pavel Begunkov
2025-10-16 13:23 ` [PATCH 4/7] io_uring: remove extra args from io_register_free_rings Pavel Begunkov
2025-10-16 13:23 ` [PATCH 5/7] io_uring: don't free never created regions Pavel Begunkov
2025-10-16 13:23 ` [PATCH 6/7] io_uring/kbuf: use io_create_region for kbuf creation Pavel Begunkov
2025-10-16 13:23 ` [PATCH 7/7] io_uring: only publish fully handled mem region Pavel Begunkov
2025-10-17 21:01 ` [PATCH 0/7] random region / rings cleanups Gabriel Krisman Bertazi
2025-10-20 16:38 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox