Skip to content

preparation for zcrx with huge pages

Pavel Begunkov io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4io_uring/zcrx: add helper for importing user memoryio_uring/zcrx.c+31 -160 replies
2/4io_uring/zcrx: add initial infra for large pagesio_uring/zcrx.c io_uring/zcrx.h+22 -50 replies
3/4io_uring: export io_coalesce_buffer()io_uring/rsrc.c io_uring/rsrc.h+3 -10 replies
4/4io_uring/zcrx: coalesce areas with huge pagesio_uring/zcrx.c+17 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] preparation for zcrx with huge pages

Add barebone support for huge pages for zcrx, with the only real effect is shrinking the page array. However, it's a prerequisite for other huge page optimisations, like improved dma mappings and large page pool allocation sizes.

There is no new uapi, but there is a basic example:

https://github.com/isilence/liburing/tree/zcrx-huge-page

Pavel Begunkov (4):
io_uring/zcrx: add helper for importing user memory io_uring/zcrx: add initial infra for large pages
io_uring: export io_coalesce_buffer() io_uring/zcrx: coalesce areas with huge pages

 io_uring/rsrc.c |  2 +-
 io_uring/rsrc.h |  2 ++
 io_uring/zcrx.c | 88 +++++++++++++++++++++++++++++++++++++------------
 io_uring/zcrx.h |  3 ++
 4 files changed, 73 insertions(+), 22 deletions(-)
Signature · 1 line
2.48.1