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 20:11:29 +0000 (13:11 -0700)
commit82789553bea5e6099245a99f4a77fd8774a1f799
treede6564eda473e7030497c2c2fe93be21d3763359
parent21acb376486643652172caa0e1457702677701c9
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