Add support for ring resizing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 0 repliesNew
- v34 patches 9 repliesSuperseded
- v23 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 3 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- 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
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | io_uring: move max entry definition and ring sizing into headerio_uring/ io_uring/ | +11 | 0 replies | |
| 2/4 | io_uring: abstract out a bit of the ring filling logicio_uring/ io_uring/ | +41 | 0 replies | |
| 3/4 | io_uring/memmap: explicitly return -EFAULT for mmap on NULL ringsio_uring/ | +4 | 0 replies | |
| 4/4 | io_uring/register: add IORING_REGISTER_RESIZE_RINGSinclude/ include/ io_uring/ +2 more | +234 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCHSET v4 0/4] Add support for ring resizing
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
Signature · 1 line
Jens Axboe