diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-06-23 13:23:25 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-23 16:19:39 +0200 |
commit | 2fdd6fb5ff958a0f6b403e3f3ffd645b60b2a2b2 (patch) | |
tree | 9da2e89bb4eefab9700cc21c662a9803683b8b53 /io_uring/io-wq.c | |
parent | io_uring: move io_clean_op() (diff) | |
download | linux-2fdd6fb5ff958a0f6b403e3f3ffd645b60b2a2b2.tar.xz linux-2fdd6fb5ff958a0f6b403e3f3ffd645b60b2a2b2.zip |
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-wq.c')
0 files changed, 0 insertions, 0 deletions