Re: [10 PATCHES] inline functions to avoid stack overflow

2008-07-03 Thread Mikulas Patocka
On Tue, 1 Jul 2008, David Miller wrote: From: Mikulas Patocka <[EMAIL PROTECTED]> Date: Wed, 2 Jul 2008 00:39:35 -0400 (EDT) The ABI is very vague about it. The V9 ABI just displays that 6-word space in a figure bug doesn't say anything about it's usage. The V8 ABI jus

Re: [10 PATCHES] inline functions to avoid stack overflow

2008-07-01 Thread Mikulas Patocka
On Wed, 25 Jun 2008, David Miller wrote: From: Mikulas Patocka <[EMAIL PROTECTED]> Date: Wed, 25 Jun 2008 08:53:10 -0400 (EDT) Even worse, gcc doesn't use these additional bytes. If you try this: extern void f(int *i); void g() { int a; f(&a); } , it alloc

Re: [10 PATCHES] inline functions to avoid stack overflow

2008-06-25 Thread Mikulas Patocka
On Wed, 25 Jun 2008, Helge Hafting wrote: Mikulas Patocka wrote: Hi Here I'm sending 10 patches to inline various functions. To give you some understanding of sparc64, every function there uses big stack frame (at least 192 bytes). 128 bytes are required by architecture (16 6