io_uring: set task_work notify method at init time
authorJens Axboe <axboe@kernel.dk>
Tue, 26 Apr 2022 01:49:02 +0000 (19:49 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 30 Apr 2022 14:39:54 +0000 (08:39 -0600)
commit9f010507bbc1be19dbeedc1a254209fea44adc14
tree1853223814ff1616df47663a544258258c20c903
parent6cf5862e3c2caafd11f39a373b98b00c5a04b83a
io_uring: set task_work notify method at init time

While doing so, switch SQPOLL to TWA_SIGNAL_NO_IPI as well, as that
just does a task wakeup and then we can remove the special wakeup we
have in task_work_add.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/20220426014904.60384-5-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c