Re: [RFC PATCH v2 2/4] lib: Add support for LZ4-compressed kernel

2013-02-27 Thread Kyungsik Lee
On Tue, Feb 26, 2013 at 03:00:51PM +0100, David Sterba wrote: > On Tue, Feb 26, 2013 at 03:24:28PM +0900, Kyungsik Lee wrote: > > +config KERNEL_LZ4 > > + bool "LZ4" > > + depends on HAVE_KERNEL_LZ4 > > + help > > + Its compression ratio is worse than LZO. The size of the kernel > > +

Re: [RFC PATCH v2 2/4] lib: Add support for LZ4-compressed kernel

2013-02-26 Thread David Sterba
On Tue, Feb 26, 2013 at 03:24:28PM +0900, Kyungsik Lee wrote: > +config KERNEL_LZ4 > + bool "LZ4" > + depends on HAVE_KERNEL_LZ4 > + help > + Its compression ratio is worse than LZO. The size of the kernel > + is about 8% bigger than LZO. But the decompression speed is > +

[RFC PATCH v2 2/4] lib: Add support for LZ4-compressed kernel

2013-02-25 Thread Kyungsik Lee
This patch adds support for extracting LZ4-compressed kernel images, as well as LZ4-compressed ramdisk images in the kernel boot process. This depends on the patch below decompressor: Add LZ4 decompressor module Signed-off-by: Kyungsik Lee v2: - Clean up code - Use lz4_decompress() for LZ4-comp