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

From: Andi Kleen
Date: Sat Apr 26 2008 - 16:02:41 EST


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.

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