[PATCH 04/28] deflate stack usage in lib/inflate.c

2007-04-14 Thread Jeremy Fitzhardinge
inflate_fixed and huft_build together use around 2.7k of stack. When using 4k stacks, I saw stack overflows from interrupts arriving while unpacking the root initrd: do_IRQ: stack overflow: 384 [] show_trace_log_lvl+0x1a/0x30 [] show_trace+0x12/0x14 [] dump_stack+0x16/0x18 []

[PATCH 04/28] deflate stack usage in lib/inflate.c

2007-04-14 Thread Jeremy Fitzhardinge
inflate_fixed and huft_build together use around 2.7k of stack. When using 4k stacks, I saw stack overflows from interrupts arriving while unpacking the root initrd: do_IRQ: stack overflow: 384 [c0106b64] show_trace_log_lvl+0x1a/0x30 [c01075e6] show_trace+0x12/0x14 [c010763f]