]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/zcrx: cache fallback availability in zcrx ctx
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 23 Mar 2026 12:44:03 +0000 (12:44 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Apr 2026 16:21:13 +0000 (10:21 -0600)
commit5c727ce042988df45232cfdb6599bb46116fd69c
tree1f907bbcc1ebe5caa1630109cbc7e33a9e542de6
parentf0b92207a00c731cfbfdefdcf9f9350a11e30ab3
io_uring/zcrx: cache fallback availability in zcrx ctx

Store a flag in struct io_zcrx_ifq telling if the backing memory is
normal page or dmabuf based. It was looking it up from the area, however
it logically allocates from the zcrx ctx and not a particular area, and
once we add more than one area it'll become a mess.

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