io_uring: don't set TASK_RUNNING in local tw runner
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Jan 2023 14:46:05 +0000 (14:46 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:17:40 +0000 (15:17 -0700)
commit2f413956cc8a72fc11c2779228112559bbca8279
treec45e2d3aeb804c9dbeb6dfbb3947c5cea80cdc49
parentbd550173acc2dc782d9c57852f6b6e71f5d9a159
io_uring: don't set TASK_RUNNING in local tw runner

The CQ waiting loop sets TASK_RUNNING before trying to execute
task_work, no need to repeat it in io_run_local_work().

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