Re: [PATCH] reduce large do_mount stack usage with noinlines

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric Sandeen <sandeen@...>
Cc: <linux-kernel@...>
Date: Wednesday, February 6, 2008 - 6:34 pm

On Wed, 06 Feb 2008 16:13:58 -0600
Eric Sandeen <sandeen@redhat.com> wrote:


hm, sizeof(nameidata)=136 and I can see about three of them on the stack. 
Must have missed something.


Does the patch actually help?  I mean, if a() calls b() and both use N
bytes of locals, our worst-case stack usage remains ~2N whether or not b()
was inlined in a()?  In fact, uninlining makes things a little worse due to
callframe stuff.


There's no way for the reader to work out why this is here, so I do think
it should be commented somewhere.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] reduce large do_mount stack usage with noinlines, Andrew Morton, (Wed Feb 6, 6:34 pm)
Re: [PATCH] reduce large do_mount stack usage with noinlines, Arjan van de Ven, (Thu Feb 7, 7:23 pm)
Re: [PATCH] reduce large do_mount stack usage with noinlines, Arjan van de Ven, (Wed Feb 6, 6:54 pm)