Re: [PATCH] Reduce stack usage in acct.c

2005-04-03 Thread Olaf Dietsche
Yum Rayan <[EMAIL PROTECTED]> writes: > Attempt to reduce stack usage in acct.c (linux-2.6.12-rc1-mm3). Stack > usage was noted using checkstack.pl. Specifically: > > Before patch > > check_free_space - 128 > > After patch > --- > check_free_space - 36 > > Signed-off-by: Yum R

Re: [PATCH] Reduce stack usage in acct.c

2005-03-31 Thread Adrian Bunk
On Thu, Mar 31, 2005 at 12:09:54PM -0800, Randy.Dunlap wrote: > Jörn Engel wrote: >... > >In principle, all recursive paths should consume as little stack as > >possible. Or the recursion itself could be avoided, even better. And > >some of the call chains with ~3k of stack consumption may be > >

Re: [PATCH] Reduce stack usage in acct.c

2005-03-31 Thread Randy.Dunlap
Jörn Engel wrote: On Wed, 30 March 2005 23:39:40 -0800, Yum Rayan wrote: Before patch check_free_space - 128 do_acct_process - 105 After patch --- check_free_space - 36 do_acct_process - 44 It is always nice to see enthusiams, but in your case it might be a bit misguided. Non

Re: [PATCH] Reduce stack usage in acct.c

2005-03-31 Thread Jörn Engel
On Wed, 30 March 2005 23:39:40 -0800, Yum Rayan wrote: > > Before patch > > check_free_space - 128 > do_acct_process - 105 > > After patch > --- > check_free_space - 36 > do_acct_process - 44 It is always nice to see enthusiams, but in your case it might be a bit misguided.