From: Jens Axboe <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [PATCHSET v4 0/4] Add support for ring resizing
Date: Fri, 25 Oct 2024 08:02:27 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
Hi,
Here's v4 of the ring resizing support. For the v1 posting and details,
look here:
https://lore.kernel.org/io-uring/[email protected]/T/#md3a2f049b0527592cc6d8ea25b46bde9fa8e5c68
include/linux/io_uring_types.h | 7 ++
include/uapi/linux/io_uring.h | 3 +
io_uring/io_uring.c | 85 +++++++------
io_uring/io_uring.h | 6 +
io_uring/memmap.c | 12 ++
io_uring/register.c | 215 +++++++++++++++++++++++++++++++++
6 files changed, 290 insertions(+), 38 deletions(-)
Changes since v3
- Add ctx->resize_lock, which is held across both mmap and ring resize
operations. This prevents anyone else from running mmap at the same
time as a resize, even if they are a different mm
- Expand test cases to test the different mm situation
--
Jens Axboe
next reply other threads:[~2024-10-25 14:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 14:02 Jens Axboe [this message]
2024-10-25 14:02 ` [PATCH 1/4] io_uring: move max entry definition and ring sizing into header Jens Axboe
2024-10-25 14:02 ` [PATCH 2/4] io_uring: abstract out a bit of the ring filling logic Jens Axboe
2024-10-25 14:02 ` [PATCH 3/4] io_uring/memmap: explicitly return -EFAULT for mmap on NULL rings Jens Axboe
2024-10-25 14:02 ` [PATCH 4/4] io_uring/register: add IORING_REGISTER_RESIZE_RINGS 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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox