Re: [patch 7/7] Make "inline" no longer mandatory for gcc 4.x

Jeff Garzik
2006-01-06T17:31:32Z

Arjan van de Ven wrote:
> Subject: when CONFIG_CC_OPTIMIZE_FOR_SIZE, allow gcc4 to control inlining
> From: Ingo Molnar <mingo@elte.hu>
>
> if optimizing for size (CONFIG_CC_OPTIMIZE_FOR_SIZE), allow gcc4 compilers
> to decide what to inline and what not - instead of the kernel forcing gcc
> to inline all the time. This requires several places that require to be
> inlined to be marked as such, previous patches in this series do that.
> This is probably the most flame-worthy patch of the series.
>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>
> Signed-off-by: Arjan van de Ven <arjan@infradead.org>

NAK, for what it's worth... This should be first integrated with its
own "off switch", and then later added to optimze-for-size.

Jeff