]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/net: avoid import_ubuf for regvec send
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 31 Mar 2025 16:17:58 +0000 (17:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 31 Mar 2025 18:41:49 +0000 (12:41 -0600)
commit81ed18015d65f111ddbc88599c48338a5e1927d0
tree6e27f331b4bfa1cdb4c0d215cda1f62c4f1ab7d6
parenta1fbe0a12178a006b04a7fa528457f9901d6c6d0
io_uring/net: avoid import_ubuf for regvec send

With registered buffers we set up iterators in helpers like
io_import_fixed(), and there is no need for a import_ubuf() before that.
It was fine as we used real pointers for offset calculation, but that's
not the case anymore since introduction of ublk kernel buffers.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/9b2de1a50844f848f62c8de609b494971033a6b9.1743437358.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c