Re: [tip:tracing/urgent] tracing: Fix too large stack usage indo_one_initcall()

From: Linus Torvalds
Date: Fri Aug 21 2009 - 15:22:18 EST




On Fri, 21 Aug 2009, Linus Torvalds wrote:
>
> And we probably should really complain more actively about big stack
> frames. We have that CONFIG_FRAME_WARN thing, but it's set very high.

Hmm. Setting it down to 256 on x86-64 does cause a fair number of
warnings even for something like my personal build (that avoids all the
crazy drivers etc), but it looks "manageable" - ie something where a
kernel developer should try it, and fix all the ones that they maintain.

And if you don't get any warnings in your area, try lowering it to 100 or
something.

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