io_uring: avoid syscall restart for signal_pending(), if possible tif-task_work.3
authorJens Axboe <axboe@kernel.dk>
Sat, 3 Oct 2020 17:53:38 +0000 (11:53 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Oct 2020 14:43:24 +0000 (08:43 -0600)
commit539777a03dbf74197afb49c63a050e516964ce6d
treea64959ec797d2b63ce71d7603d791d68f84da7f1
parent68b2b121a9256e90f5f585b42b91e5db9ed2f14b
io_uring: avoid syscall restart for signal_pending(), if possible

Same kind of optimization we have for the JOBCTL_TASK_WORK. This is safe
to do, as we're running task_work manually for this case.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c