summaryrefslogtreecommitdiff
path: root/io_uring/io_uring.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2023-06-23 12:23:25 +0100
committerJens Axboe <axboe@kernel.dk>2023-06-23 08:19:39 -0600
commit2fdd6fb5ff958a0f6b403e3f3ffd645b60b2a2b2 (patch)
tree9da2e89bb4eefab9700cc21c662a9803683b8b53 /io_uring/io_uring.h
parent5a754dea27fb91a418f7429e24479e4184dee2e3 (diff)
io_uring: don't batch task put on reqs free
We're trying to batch io_put_task() in io_free_batch_list(), but considering that the hot path is a simple inc, it's most cerainly and probably faster to just do io_put_task() instead of task tracking. We don't care about io_put_task_remote() as it's only for IOPOLL where polling/waiting is done by not the submitter task. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/4a7ef7dce845fe2bd35507bf389d6bd2d5c1edf0.1687518903.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.h')
0 files changed, 0 insertions, 0 deletions