Re: [PATCH v1] fs/io_uring: Prioritise checking faster conditions first in io_write

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

 



On Sat, 16 Oct 2021 20:32:29 -0500, Noah Goldstein wrote:
> This commit reorders the conditions in a branch in io_write. The
> reorder to check 'ret2 == -EAGAIN' first as checking
> '(req->ctx->flags & IORING_SETUP_IOPOLL)' will likely be more
> expensive due to 2x memory derefences.
> 
> 

Applied, thanks!

[1/1] fs/io_uring: Prioritise checking faster conditions first in io_write
      commit: 02a8286be94bb1fce86afa6b487717eb4ca2956e

Best regards,
-- 
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