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

Jeremy Fitzhardinge
2007-04-12T23:31:42Z

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?
>

Well, the thread started with my patch to fix inflate. The stack usage
of LZO or LZMA decompressors will primarily depend on how they're
implemented rather than any inherent property of the algorithms.

J