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

From: Russell King
Date: Mon Apr 16 2007 - 17:05:02 EST


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/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/