io_uring: remove extra in_idle wake up
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 1 Mar 2021 18:20:48 +0000 (18:20 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Mar 2021 16:46:05 +0000 (09:46 -0700)
commit4c4e1b864a08b2c8b5438f18e7d35d5c9b415f00
tree5f64434f2eb64b352248828c59424052f5492411
parentedf7279b10ff41c82942b7941bf1fb6ebce886fa
io_uring: remove extra in_idle wake up

io_dismantle_req() is always followed by io_put_task(), which already do
proper in_idle wake ups, so we can skip waking the owner task in
io_dismantle_req(). The rules are simpler now, do io_put_task() shortly
after ending a request, and it will be fine.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c