Re: [PATCH] 2.5.21 inline abuse...

From: Richard Zidlicky (Richard.Zidlicky@stud.informatik.uni-erlangen.de)
Date: Thu Jun 13 2002 - 07:45:42 EST


On Wed, Jun 12, 2002 at 12:50:15PM +0200, Martin Dalecki wrote:
> The attached patch is trying to address the most obvious
> abuses or inadequacies in the usage of the inline attribute
> to functions. Many of the remaining usages should be removed
> as well since apparently GCC got really good at figuring out
> on its own whatever it makes sense to inline a function or not.

do you compile your kernels with -O3 or -finline-functions?
Otherwise gcc should not inline anything at all without the
explicit inline keyword.

Richard

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:28 EST