summaryrefslogtreecommitdiff
path: root/io_uring/msg_ring.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-02-22 14:36:50 +0000
committerJens Axboe <axboe@kernel.dk>2023-02-22 09:57:23 -0700
commitb000ae0ec2d709046ac1a3c5722fea417f8a067e (patch)
tree91a0bf402c0a9b2eb5f5f9ba4471f3af3de956c6 /io_uring/msg_ring.c
parentedd478269640b360c6f301f2baa04abdda563ef3 (diff)
io_uring/rsrc: optimise single entry advance
Iterating within the first bvec entry should be essentially free, but we use iov_iter_advance() for that, which shows up in benchmark profiles taking up to 0.5% of CPU. Replace it with a hand coded version. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions