mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
io_uring: remove extra io_ring_exit_work wake up
task_work_add() takes care of waking up the thread, remove useless wake_up_process(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/de9a71ee255112dcaed3b5d426be24934e74722c.1633532552.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
4a04d1d148
commit
0cd3e3ddb4
1 changed files with 0 additions and 1 deletions
|
@ -9367,7 +9367,6 @@ static __cold void io_ring_exit_work(struct work_struct *work)
|
||||||
ret = task_work_add(node->task, &exit.task_work, TWA_SIGNAL);
|
ret = task_work_add(node->task, &exit.task_work, TWA_SIGNAL);
|
||||||
if (WARN_ON_ONCE(ret))
|
if (WARN_ON_ONCE(ret))
|
||||||
continue;
|
continue;
|
||||||
wake_up_process(node->task);
|
|
||||||
|
|
||||||
mutex_unlock(&ctx->uring_lock);
|
mutex_unlock(&ctx->uring_lock);
|
||||||
wait_for_completion(&exit.completion);
|
wait_for_completion(&exit.completion);
|
||||||
|
|
Loading…
Reference in a new issue