io_uring: use TWA_SIGNAL for task_work uncondtionally
An earlier commit: b7db41c9 ("io_uring: fix regression with always ignoring signals in io_cqring_wait()") ensured that we didn't get stuck waiting for eventfd reads when it's registered with the io_uring ring for event notification, but we still have cases where the task can be waiting on other events in the kernel and need a bigger nudge to make forward progress. Or the task could be in the kernel and running, but on its way to blocking. This means that TWA_RESUME cannot reliably be used to ensure we make progress. Use TWA_SIGNAL unconditionally. Cc: stable@vger.kernel.org # v5.7+ Reported-by:Josef <josef.grieb@gmail.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Loading
-
mentioned in commit b4edc074
-
mentioned in commit 4e3df2c1
-
mentioned in commit fee35479
-
mentioned in commit 9a3ae1f5
-
mentioned in commit 5c0885cb
-
mentioned in commit 221c9502
-
mentioned in commit faf776d9
-
mentioned in commit 4395fce2
-
mentioned in commit 353829a2
-
mentioned in commit 9fcf4bed
-
mentioned in commit db779a6f
-
mentioned in commit 24caa6aa
Please sign in to comment