Re: 4k stacks in 2.6

Arjan van de Ven
2004-05-27T15:34:40Z

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

On Thu, 2004-05-27 at 17:21, Jörn Engel wrote:
> On Fri, 28 May 2004 01:08:02 +1000, Keith Owens wrote:
> > On Thu, 27 May 2004 16:59:35 +0200,
> > =?iso-8859-1?Q?J=F6rn?= Engel <joern@wohnheim.fh-wedel.de> wrote:
> > >
> > >Plus the script is wrong sometimes. I have had trouble with sizes
> > >around 4G or 2G, and never found the time to really figure out what's
> > >going on. Might be an alloca thing that got misparsed somehow.
> >
> > Some code results in negative adjustments to the stack size on exit,
> > which look like 4G sizes. My script checks for those and ignores them.
> > /^[89a-f].......$/d;
>
> Ok, looks as if only my script is wrong. Do you know what exactly
> causes such a negative adjustment?

you can write "add 100,%esp" as "sub -100, %esp" :)
compilers seem to do that at times, probably some cpu model inside the
compiler decides the later is better code in some cases :)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]