]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/zcrx: always dma map in advance
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 23 Mar 2026 12:43:52 +0000 (12:43 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Apr 2026 16:21:12 +0000 (10:21 -0600)
commitb8d6eb6c1c80852dfcad8642f346c26aabf34833
treef9ad2182fd573669568bcbbf1c149d87fa732949
parent41041562a7d6acd5a8ce918be8da7e26337f379f
io_uring/zcrx: always dma map in advance

zcrx was originally establisihing dma mappings at a late stage when it
was being bound to a page pool. Dma-buf couldn't work this way, so it's
initialised during area creation.

It's messy having them do it at different spots, just move everything to
the area creation time.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://patch.msgid.link/334092a2cbdd4aabd7c025050aa99f05ace89bb5.1774261953.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c