Skip to content
Commit faf7b51c authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: batch account ->req_issue and task struct references



Identical to how we handle the ctx reference counts, increase by the
batch we're expecting to submit, and handle any slow path residual,
if any. The request alloc-and-issue path is very hot, and this makes
a noticeable difference by avoiding an two atomic incs for each
individual request.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 87c4311f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment