diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-10-06 16:06:50 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 05:49:55 -0600 |
commit | 0cd3e3ddb4f60062c401929b2005eb7ff6399a4d (patch) | |
tree | 566884b3f3e1187e1622b56e1a0d13cf0547ce9f /fs/io_uring.c | |
parent | 4a04d1d14831d31f2cd0e31eb1568cc9c1be0095 (diff) | |
download | linux-0cd3e3ddb4f60062c401929b2005eb7ff6399a4d.tar.bz2 |
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>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r-- | fs/io_uring.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c index 7918a320104d..383b8f61359d 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -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); if (WARN_ON_ONCE(ret)) continue; - wake_up_process(node->task); mutex_unlock(&ctx->uring_lock); wait_for_completion(&exit.completion); |