]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/zcrx: split out memory holders from area
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 1 May 2025 12:17:16 +0000 (13:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 2 May 2025 15:24:42 +0000 (09:24 -0600)
commit782dfa329ac9d1b5ca7b6df56a7696bac58cb829
tree8c61999073b7393c90379db5e0639be2a760abaa
parent6c9589aa08471f8984cdb5e743d2a2c048dc2403
io_uring/zcrx: split out memory holders from area

In the data path users of struct io_zcrx_area don't need to know what
kind of memory it's backed by. Only keep there generic bits in there and
and split out memory type dependent fields into a new structure. It also
logically separates the step that actually imports the memory, e.g.
pinning user pages, from the generic area initialisation.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b60fc09c76921bf69e77eb17e07eb4decedb3bf4.1746097431.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c
io_uring/zcrx.h