Re: [PATCH for-next] io_uring: optimise io_req_init() sqe flags checks

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

 



On 9/15/21 5:03 AM, Pavel Begunkov wrote:
> IOSQE_IO_DRAIN is quite marginal and we don't care too much about
> IOSQE_BUFFER_SELECT. Save to ifs and hide both of them under
> SQE_VALID_FLAGS check. Now we first check whether it uses a "safe"
> subset, i.e. without DRAIN and BUFFER_SELECT, and only if it's not
> true we test the rest of the flags.

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