io_uring: run io_uring task_works on TIF_NOTIFY_SIGNAL
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 21 Apr 2022 13:44:20 +0000 (14:44 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Apr 2022 14:38:15 +0000 (08:38 -0600)
commit807e5cc5f9d7e5df3d5ec680ca170b775c94ebc2
treebfdb75236cfbaa00b4289f9abbb08598ba2918e3
parent272c664874ed02da74dc1736520d2c9b2d66be87
io_uring: run io_uring task_works on TIF_NOTIFY_SIGNAL

Now TIF_NOTIFY_SIGNAL can mean not only normal task_work but also
io_uring specific task requests. Make sure to run them when needed.

TODO: add hot path when not having io_uring tw items

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c312834681e9a60c847cbc189a35bd8382e8f4db.1650548192.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c
fs/io_uring.c
include/linux/task_work.h
kernel/entry/kvm.c
kernel/signal.c