]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove 'twa_signal_ok' deadlock work-around
authorJens Axboe <axboe@kernel.dk>
Fri, 23 Oct 2020 02:19:35 +0000 (20:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 12 Dec 2020 16:17:38 +0000 (09:17 -0700)
commitb3489389ca00f63b0061942f43ee0d5cbca3c8cf
tree73b6aebb80e177be9c156e37e0cfa8fcba46d56b
parent0566e3b3c9e73f9c6c799bd01659fd8d95b6d3ee
io_uring: remove 'twa_signal_ok' deadlock work-around

The TIF_NOTIFY_SIGNAL based implementation of TWA_SIGNAL is always safe
to use, regardless of context, as we won't be recursing into the signal
lock. So now that all archs are using that, we can drop this deadlock
work-around as it's always safe to use TWA_SIGNAL.

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