Re: [PATCH V3 4/8] block: don't check bio in blk_throtl_dispatch_work_fn

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

 



On Tue, Feb 15, 2022 at 04:09:46PM +0800, Ming Lei wrote:
> The wrapper is for avoiding to add extra function call code in fast
> path since submit_bio_noacct_nocheck is global and can't be inlined.

It absolutle can be inlined if the compiler deems it worthwhile.  But
givn that it is a trivial and cheap tail call is not worth it, so no
sensible compiler will do it and we should not force it into that
suboptimal decision.



[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