diff options
| author | Pavel Begunkov <[email protected]> | 2021-03-27 09:59:30 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-03-29 00:11:53 +0000 |
| commit | 5a978dcfc0f054e4f6983a0a26355a65e34708cb (patch) | |
| tree | b2f148f6469d1319bc5e81abe09e6d358a254cd4 /drivers/usb/cdns3/cdns3-plat.c | |
| parent | io_uring: remove unsued assignment to pointer io (diff) | |
| download | kernel-5a978dcfc0f054e4f6983a0a26355a65e34708cb.tar.gz kernel-5a978dcfc0f054e4f6983a0a26355a65e34708cb.zip | |
io_uring: always go for cancellation spin on exec
Always try to do cancellation in __io_uring_task_cancel() at least once,
so it actually goes and cleans its sqpoll tasks (i.e. via
io_sqpoll_cancel_sync()), otherwise sqpoll task may submit new requests
after cancellation and it's racy for many reasons.
Fixes: 521d6a737a31c ("io_uring: cancel sqpoll via task_work")
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/0a21bd6d794bb1629bc906dd57a57b2c2985a8ac.1616839147.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions
