Re: [RFC PATCH] blk-mq: change bio_set_ioprio to inline

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

 




On 2022/8/30 21:59, Jens Axboe wrote:
On 8/30/22 3:45 AM, Liu Song wrote:
From: Liu Song <liusong@xxxxxxxxxxxxxxxxx>

Change "bio_set_ioprio" to inline to avoid calling overhead.
Let's not try to 2nd guess the compiler here. Most things that are
marked inline should not be.
Agree, I think there is something wrong with the commit log written here,
it should be expected to reduce the call overhead, bio_set_ioprio seems
to be appropriate to use inline.

Thanks





[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