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

Russell King
2007-04-16T21:04:47Z

On Thu, Apr 12, 2007 at 03:57:48PM -0700, Jeremy Fitzhardinge wrote:
> diff -r 2ad8a0729f26 arch/arm/boot/compressed/misc.c
> --- a/arch/arm/boot/compressed/misc.c Thu Apr 12 13:44:02 2007 -0700
> +++ b/arch/arm/boot/compressed/misc.c Thu Apr 12 15:48:43 2007 -0700
> @@ -239,7 +239,7 @@ static ulg free_mem_ptr;
> static ulg free_mem_ptr;
> static ulg free_mem_ptr_end;
>
> -#define HEAP_SIZE 0x2000
> +#define HEAP_SIZE 0x3000

Not used on ARM, this macro can be deleted. For the record, the space
available to the decompressor on ARM is 64K.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/