Messages in this thread | | | From | Jeff Moyer <> | Subject | Re: [PATCH 06/11] DIO: Inline the complete submission path v2 | Date | Mon, 08 Aug 2011 14:14:43 -0400 |
| |
Andi Kleen <andi@firstfloor.org> writes:
> From: Andi Kleen <ak@linux.intel.com> > > 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
| |