]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: small optimisation of tctx_task_work
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 21 Mar 2022 22:02:19 +0000 (22:02 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 24 Apr 2022 23:34:16 +0000 (17:34 -0600)
commit26e348c26234ce727bf78d8440be7069fc9e16e4
tree278f6e76b822a266f280c2e49453d53354d2eee6
parentb9f8d2f498fe4c118f5c77a2789962e442c78a90
io_uring: small optimisation of tctx_task_work

There should be no completions stashed when we first get into
tctx_task_work(), so move completion flushing checks a bit later
after we had a chance to execute some task works.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c6765c804f3c438591b9825ab9c43d22039073c4.1647897811.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c