io-wq: use __set_notify_signal() to wake workers
authorJens Axboe <axboe@kernel.dk>
Tue, 26 Apr 2022 01:49:01 +0000 (19:49 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Apr 2022 14:39:29 +0000 (08:39 -0600)
commit8a68648b353bb6e20a3dc8c0b914792ce0a0391f
tree172275e1788349f6f6024301893f2bc49fdb994d
parent8018823e6987032d3d751263872b5385359c2819
io-wq: use __set_notify_signal() to wake workers

The only difference between set_notify_signal() and __set_notify_signal()
is that the former checks if it needs to deliver an IPI to force a
reschedule. As the io-wq workers never leave the kernel, and IPI is never
needed, they simply need a wakeup.

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