public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] account zcrx area pinned memory
@ 2025-07-18 18:59 Pavel Begunkov
  2025-07-18 18:59 ` [PATCH v2 1/3] io_uring: export io_[un]account_mem Pavel Begunkov
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Pavel Begunkov @ 2025-07-18 18:59 UTC (permalink / raw)
  To: io-uring; +Cc: asml.silence, dw

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


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

end of thread, other threads:[~2025-07-18 21:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18 18:59 [PATCH v2 0/3] account zcrx area pinned memory Pavel Begunkov
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

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