summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-08-07 04:41:50 +0300
committerJens Axboe <axboe@kernel.dk>2020-08-11 00:17:46 +0300
commit0ba9c9edcd152158a0e321a4c13ac1dfc571ff3d (patch)
tree550aaf132b452098435e9bf161214e682afed0f1 /virt
parentf74441e6311a28f0ee89b9c8e296a33730f812fc (diff)
downloadlinux-0ba9c9edcd152158a0e321a4c13ac1dfc571ff3d.tar.xz
io_uring: use TWA_SIGNAL for task_work uncondtionally
An earlier commit: b7db41c9e03b ("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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions