Re: [PATCH] block: optimize bvec iteration in bvec_iter_advance

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

 



On 2/28/19 9:00 AM, Christoph Hellwig wrote:
> There is no need to only iterate in chunks of PAGE_SIZE or less in
> bvec_iter_advance, given that the callers pass in the chunk length that
> they are operating on - either that already is less than PAGE_SIZE
> because they do classic page-based iteration, or it is larger because
> the caller operates on multi-page bvecs.
> 
> This should help optimizing shaving off a few cycles of the I/O hot
> path.

Applied, thanks.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux