Re: [PATCH 10/16] block: optimise blkdev_bio_end_io()

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

 



On Tue, Oct 19, 2021 at 10:24:19PM +0100, Pavel Begunkov wrote:
> Save dio->flags in a variable, so it doesn't reload it a bunch of times.
> Also use cached in a var iocb for the same reason.

Same question again, does this really make a difference?  We really
shouldn't have to try to work around the compiler like this (even if
this relatively harmless in the end).



[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