Messages in this thread | | | Date | Fri, 9 Jan 2009 07:58:41 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH -v7][RFC]: mutex: implement adaptive spinning |
| |
> 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
-- ak@linux.intel.com
| |