]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Thu, 1 Oct 2020 02:32:33 +0000 (20:32 -0600)
commitdf8a542919ad39adc359381630a448a294ea8942
treeaa4ce74b3faf888e107ec561960a306a06353762
parentf230bd08eb0cecbdf704f7d25ef76e21532fc145
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