diff options
| author | Pavel Begunkov <[email protected]> | 2022-10-16 20:30:51 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-10-16 23:08:42 +0000 |
| commit | 02bac94bd8efd75f615ac7515dd2def75b43e5b9 (patch) | |
| tree | c62c0e7c6e195a308496143cdd779f77fde294f3 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | io_uring: reuse io_alloc_req() (diff) | |
| download | kernel-02bac94bd8efd75f615ac7515dd2def75b43e5b9.tar.gz kernel-02bac94bd8efd75f615ac7515dd2def75b43e5b9.zip | |
io_uring: don't iopoll from io_ring_ctx_wait_and_kill()
We should not be completing requests from a task context that has already
undergone io_uring cancellations, i.e. __io_uring_cancel(), as there are
some assumptions, e.g. around cached task refs draining. Remove
iopolling from io_ring_ctx_wait_and_kill() as it can be called later
after PF_EXITING is set with the last task_work run.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/7c03cc91455c4a1af49c6b9cbda4e57ea467aa11.1665891182.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
