Re: [PATCH 06/11] DIO: Inline the complete submission path v2

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

 



Andi Kleen <andi@xxxxxxxxxxxxxx> writes:

> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Add inlines to all the submission path functions. While this increases
> code size it also gives gcc a lot of optimization opportunities
> in this critical hotpath.
>
> In particular -- together with some other changes -- this
> allows gcc to get rid of the unnecessary clearing of
> sdio at the beginning and optimize the messy parameter passing.
> Any non inlining of a function which takes a sdio parameter
> would break this optimization because they cannot be done if the
> address of a structure is taken.

Do you want to use __always_inline, then?

Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux