Re: [PATCH UPDATE] deflate stack usage in lib/inflate.c

Andi Kleen
2007-04-12T23:38:06Z

On Friday 13 April 2007 01:20:40 Jan Engelhardt wrote:
>
> On Apr 12 2007 15:39, Jeremy Fitzhardinge wrote:
> >Andi Kleen wrote:
> >> Hmm, does Xen perhaps not use interrupt stacks? Normally 2.7k should be still
> >> green as long as there are not too many functions above/below it.
> >
> >That's a good point, I'll need to check that. Still, nearly 3k of stack!
>
> I bite. Would compressing the vmlinux binary with LZO or LZMA make an
> improvement to the bootstrap uncompress stack usage?

We don't care about the stack usage, as long as it doesn't overflow.
It's a very limited piece of code that doesn't run on top or below
other subsystems.

-Andi