io_uring: io_sq_thread() doesn't need to flush signals
authorJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 18:44:20 +0000 (12:44 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 5 Sep 2020 22:07:35 +0000 (16:07 -0600)
commit90564247cb0df6c72e9b0062c5e47d736bd728ae
tree8b2ad8f8be3bc9b0e89f34a5916a7045ab485267
parente54c92fb496b554ee545e79394e96f2fba43049e
io_uring: io_sq_thread() doesn't need to flush signals

We're not handling signals by default in kernel threads, and we never
use TWA_SIGNAL for the SQPOLL thread internally. Hence we can never
have a signal pending, and we don't need to check for it (nor flush it).

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