From: Pavel Begunkov <asml.silence@gmail.com>
To: io-uring@vger.kernel.org
Cc: asml.silence@gmail.com, dw@davidwei.uk
Subject: [PATCH v2 0/3] account zcrx area pinned memory
Date: Fri, 18 Jul 2025 19:59:01 +0100 [thread overview]
Message-ID: <cover.1752865051.git.asml.silence@gmail.com> (raw)
Honour RLIMIT_MEMLOCK while pinning zcrx areas.
v2: Fix null ifq on partial destruction
Fix page leaks on io_zcrx_free_area() failure.
Pavel Begunkov (3):
io_uring: export io_[un]account_mem
io_uring/zcrx: account area memory
io_uring/zcrx: fix leaking pages on sg init fail
io_uring/rsrc.c | 4 ++--
io_uring/rsrc.h | 2 ++
io_uring/zcrx.c | 36 +++++++++++++++++++++++++++++++-----
io_uring/zcrx.h | 1 +
4 files changed, 36 insertions(+), 7 deletions(-)
--
2.49.0
next reply other threads:[~2025-07-18 18:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-18 18:59 Pavel Begunkov [this message]
2025-07-18 18:59 ` [PATCH v2 1/3] io_uring: export io_[un]account_mem Pavel Begunkov
2025-07-18 18:59 ` [PATCH v2 2/3] io_uring/zcrx: account area memory Pavel Begunkov
2025-07-18 18:59 ` [PATCH v2 3/3] io_uring/zcrx: fix leaking pages on sg init fail Pavel Begunkov
2025-07-18 19:01 ` [PATCH v2 0/3] account zcrx area pinned memory Pavel Begunkov
2025-07-18 21:18 ` 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 \
--in-reply-to=cover.1752865051.git.asml.silence@gmail.com \
--to=asml.silence@gmail.com \
--cc=dw@davidwei.uk \
--cc=io-uring@vger.kernel.org \
/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