summaryrefslogtreecommitdiff
path: root/io_uring/timeout.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-09-08 18:56:56 +0300
committerJens Axboe <axboe@kernel.dk>2022-09-21 22:15:01 +0300
commit7924fdfeea814b4f7ff8a16de00951ad93cccf6c (patch)
treef37adcaa5dcdfedaddbcce94c92c824bc64354e7 /io_uring/timeout.c
parent1f8d5bbe98a10da5348b0fab2fa679ef8d033be5 (diff)
downloadlinux-7924fdfeea814b4f7ff8a16de00951ad93cccf6c.tar.xz
io_uring: add fast path for io_run_local_work()
We'll grab uring_lock and call __io_run_local_work() with several atomics inside even if there are no task works. Skip it if ->work_llist is empty. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: Dylan Yudaken <dylany@fb.com> Link: https://lore.kernel.org/r/f6a885f372bad2d77d9cd87341b0a86a4000c0ff.1662652536.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/timeout.c')
0 files changed, 0 insertions, 0 deletions