]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/zcrx: make niov size variable
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 16 Sep 2025 14:27:55 +0000 (15:27 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Sep 2025 18:37:20 +0000 (12:37 -0600)
commitd8d135dfe3e8e306d9edfcccf28dbe75c6a85567
tree676ae3cecf2772ae0ef4327a1f014e282475b30f
parent5d93f7bade0b1eb60d0f395ad72b35581d28a896
io_uring/zcrx: make niov size variable

Instead of using PAGE_SIZE for the niov size add a niov_shift field to
ifq, and patch up all important places. Copy fallback still assumes
PAGE_SIZE, so it'll be wasting some memory for now.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c
io_uring/zcrx.h