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>
Tue, 26 Apr 2022 14:39:32 +0000 (08:39 -0600)
commit35ac0da1d1346d182003db278c2d7b2ac32420a7
treeb90a381728e721aa4413716ce17f49614ba20fb8
parent8a68648b353bb6e20a3dc8c0b914792ce0a0391f
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