Re: [PATCH] xfs: reduce stack usage in xfs_bmap_btalloc()

From: Christoph Hellwig
Date: Sat Apr 26 2008 - 16:07:20 EST


On Sat, Apr 26, 2008 at 10:02:17PM +0200, Andi Kleen wrote:
> Denys Vlasenko <vda.linux@xxxxxxxxxxxxxx> writes:
> >
> > Compile tested only.
>
> You should mark the helper noinline just to prevent gcc from possibly
> inlining it. Even if it doesn't with your current compiler inline heuristics
> vary widely between compiler versions.

STATIC as defined by xfs already does this..

--
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/