From: Pavel Begunkov <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [PATCH v2 0/6] regions, param pre-mapping and reg waits extension
Date: Thu, 14 Nov 2024 17:38:30 +0000 [thread overview]
Message-ID: <[email protected]> (raw)
A bit late but first we need a better and more generic API for
ring/memory/region registration (see Patch 4), and it changes the API
extending registered waits to be a generic parameter passing mechanism.
That will be useful in the future to implement a more flexible rings
creation, especially when we want to share same huge page / mapping.
Patch 6 uses it for registered wait arguments, and it can also be
used to optimise parameter passing for normal io_uring requests.
A dirty liburing branch with tests:
https://github.com/isilence/liburing/tree/io-uring-region-test
v2: cleaned up namings and commit messages
moved all EXT_ARG_REG related bits Patch 5 -> 6
added alignment checks (Patch 6)
Pavel Begunkov (6):
io_uring: fortify io_pin_pages with a warning
io_uring: disable ENTER_EXT_ARG_REG for IOPOLL
io_uring: temporarily disable registered waits
io_uring: introduce concept of memory regions
io_uring: add memory region registration
io_uring: restore back registered wait arguments
include/linux/io_uring_types.h | 20 +++----
include/uapi/linux/io_uring.h | 28 +++++++++-
io_uring/io_uring.c | 27 +++++-----
io_uring/memmap.c | 67 +++++++++++++++++++++++
io_uring/memmap.h | 14 +++++
io_uring/register.c | 97 ++++++++++++----------------------
io_uring/register.h | 1 -
7 files changed, 164 insertions(+), 90 deletions(-)
--
2.46.0
next reply other threads:[~2024-11-14 17:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 17:38 Pavel Begunkov [this message]
2024-11-14 17:38 ` [PATCH v2 1/6] io_uring: fortify io_pin_pages with a warning Pavel Begunkov
2024-11-14 17:38 ` [PATCH v2 2/6] io_uring: disable ENTER_EXT_ARG_REG for IOPOLL Pavel Begunkov
2024-11-14 17:38 ` [PATCH v2 3/6] io_uring: temporarily disable registered waits Pavel Begunkov
2024-11-14 17:38 ` [PATCH v2 4/6] io_uring: introduce concept of memory regions Pavel Begunkov
2024-11-14 17:38 ` [PATCH v2 5/6] io_uring: add memory region registration Pavel Begunkov
2024-11-14 17:38 ` [PATCH v2 6/6] io_uring: restore back registered wait arguments Pavel Begunkov
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] \
/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