> foo() > { > char a[1000]; > } > > bar() > { > char a[1000]; > } > > zot() > { > foo(); > bar(); > } > > uses 2000 bytes of stack. > And with the right compiler version.
I believe that's fixed in newer gcc versions. For old gccs we might indeed need to add noinlines though. -Andi -- a...@linux.intel.com -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html