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

Liu Song
2022-08-31T00:49:06Z

On 2022/8/30 20:48, Chaitanya Kulkarni wrote:

> On 8/30/22 02:45, Liu Song wrote:
>> From: Liu Song <liusong@linux.alibaba.com>
>>
>> Change "bio_set_ioprio" to inline to avoid calling overhead.
>>
>> Signed-off-by: Liu Song <liusong@linux.alibaba.com>
> for performance overhead please provide quantitative data
>
> -ck
>
This is a small adjustment, and even if performance comparison data is
obtained
for targeted design use cases, it is not universal. If the inline by the
compiler is
successful, the number of instructions will be reduced.

Thanks

>