Re: LZMA inclusion

2008-12-06 Thread Lasse Collin
. It is important that this flag requires that the caller doesn't touch the partial output buffer _at all_. This is because if some additional filter is combined with LZMA2 in a .xz file, the output buffer won't have any valid data until the decoding has been truly finished. -- Lasse Collin | IRC

Re: LZMA inclusion

2008-12-08 Thread Lasse Collin
if going from 1 MiB to e.g. 128 KiB dictionary while keeping the 1 MiB Squashfs block size affects compression ratio too much. I guess it means 2-8 % bigger result, but someone should test it with real-world file system data. -- Lasse Collin | IRC: Larhzu @ IRCnet Freenode -- To unsubscribe

Re: LZMA inclusion

2008-12-09 Thread Lasse Collin
dictionary is the maximum that will ever be needed. -- Lasse Collin | IRC: Larhzu @ IRCnet Freenode -- To unsubscribe from this list: send the line unsubscribe linux-embedded in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: LZMA inclusion

2008-12-16 Thread Lasse Collin
Geert Uytterhoeven wrote: On Tue, 9 Dec 2008, Lasse Collin wrote: Is it OK that the decoder allocates memory in the middle of decoding, or must all the memory be preallocated when the decoder is initialized? If everything has to be preallocated, then the initialization function needs

XZ (LZMA2) decoder

2009-03-22 Thread Lasse Collin
decoder in the kernel space. -- Lasse Collin | IRC: Larhzu @ IRCnet Freenode -- To unsubscribe from this list: send the line unsubscribe linux-embedded in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH RFC 2/3] Decompressors: Add boot-time XZ support

2010-11-24 Thread Lasse Collin
From: Lasse Collin lasse.col...@tukaani.org This implements the API defined in linux/decompress/generic.h which is used for kernel, initramfs, and initrd decompression. This patch together with the first patch is enough for XZ-compressed initramfs and initrd; XZ-compressed kernel will need arch

[PATCH RFC 3/3] x86: Support XZ-compressed kernel

2010-11-24 Thread Lasse Collin
From: Lasse Collin lasse.col...@tukaani.org This integrates the XZ decompression code to the x86 pre-boot code. mkpiggy.c is updated to reserve about 32 KiB more buffer safety margin for kernel decompression. It is done unconditionally for all decompressors to keep the code simpler. The XZ

Re: [PATCH RFC 1/3] Decompressors: Add XZ decompressor module

2010-11-25 Thread Lasse Collin
On 2010-11-25 Andrew Morton wrote: On Wed, 24 Nov 2010 22:51:52 +0200 Lasse Collin lasse.col...@tukaani.org wrote: This patch: Add the main decompression code (xz_dec), testing module (xz_dec_test), wrapper script (xz_wrap.sh) for the xz command line tool, and documentation. The xz_dec

Re: [PATCH RFC 2/3] Decompressors: Add boot-time XZ support

2010-11-25 Thread Lasse Collin
On 2010-11-25 Phillip Lougher wrote: On 24/11/10 20:54, Lasse Collin wrote: @@ -176,10 +179,20 @@ config KERNEL_LZMA bool LZMA depends on HAVE_KERNEL_LZMA help + This is the predecessor of XZ. + You seem to have moved the help text from LZMA into the entry

[PATCH v2 RFC 2/3] Decompressors: Add boot-time XZ support

2010-12-02 Thread Lasse Collin
From: Lasse Collin lasse.col...@tukaani.org This implements the API defined in linux/decompress/generic.h which is used for kernel, initramfs, and initrd decompression. This patch together with the first patch is enough for XZ-compressed initramfs and initrd; XZ-compressed kernel will need arch

[PATCH v2 RFC 3/3] x86: Support XZ-compressed kernel

2010-12-02 Thread Lasse Collin
From: Lasse Collin lasse.col...@tukaani.org This integrates the XZ decompression code to the x86 pre-boot code. mkpiggy.c is updated to reserve about 32 KiB more buffer safety margin for kernel decompression. It is done unconditionally for all decompressors to keep the code simpler. The XZ

Re: [PATCH 2/2] Squashfs: Add XZ compression configuration option

2010-12-09 Thread Lasse Collin
in Squashfs. -- Lasse Collin | IRC: Larhzu @ IRCnet Freenode -- To unsubscribe from this list: send the line unsubscribe linux-embedded in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/2] Squashfs: Add XZ compression configuration option

2010-12-10 Thread Lasse Collin
On 2010-12-10 Phillip Lougher wrote: Lasse Collin wrote: On 2010-12-09 Phillip Lougher wrote: +config SQUASHFS_XZ + bool Include support for XZ compressed file systems + depends on SQUASHFS + default n + select XZ_DEC Should select XZ_DEC be replaced

[PATCH v3] Decompressors: Add boot-time XZ support

2010-12-10 Thread Lasse Collin
From: Lasse Collin lasse.col...@tukaani.org This implements the API defined in linux/decompress/generic.h which is used for kernel, initramfs, and initrd decompression. This patch together with the first patch is enough for XZ-compressed initramfs and initrd; XZ-compressed kernel will need arch