Re: [PATCH 5.12] io_uring: always go for cancellation spin on exec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/27/21 3:59 AM, Pavel Begunkov wrote:
> 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.

Applied, thanks.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux