Re: [PATCH] io_uring: Optimize and improve the hot path

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

 



On 1/29/21 4:46 AM, Pavel Begunkov wrote:
> It doesn't apply well, not for 5.11 nor for-5.12, and one more
> comment below

This patch was prepared on top of Linus' master branch. I will rebase it
on top of Jens' for-next branch.

>>  		req = list_first_entry(done, struct io_kiocb, inflight_entry);
>> -		if (READ_ONCE(req->result) == -EAGAIN) {
>> +		if (smp_load_acquire(&req->iopoll_completed) &&
> 
> No need, you can't get here unless exactly same iopoll_completed
> check succeeded in io_do_iopoll().

Agreed, I will revert this change. Thanks for having taken a look!

Bart.




[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