Re: [PATCH 06/11] DIO: Inline the complete submission path v2
From: Jeff Moyer
Date: Mon Aug 08 2011 - 14:14:55 EST
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?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/