Re: [PATCH 5.12] io_uring: clean R_DISABLED startup mess

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

 



On 3/8/21 6:20 AM, Pavel Begunkov wrote:
> There are enough of problems with IORING_SETUP_R_DISABLED, including the
> burden of checking and kicking off the SQO task all over the codebase --
> for exit/cancel/etc.
> 
> Rework it, always start the thread but don't do submit unless the flag
> is gone, that's much easier.

This is a good simplification, much better than having the weird
state that is not started.

-- 
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