Re: [PATCH v8 2/7] lib: add zstd support to decompress

2020-07-24 Thread Ingo Molnar
* Nick Terrell wrote: > +/* Size of the input and output buffers in multi-call mode. > + * Pick a larger size because it isn't used during kernel decompression, > + * since that is single pass, and we have to allocate a large buffer for > + * zstd's window anyways. The larger size speeds up ini

[PATCH v8 2/7] lib: add zstd support to decompress

2020-07-23 Thread Nick Terrell
From: Nick Terrell * Add unzstd() and the zstd decompress interface. * Add zstd support to decompress_method(). The decompress_method() and unzstd() functions are used to decompress the initramfs and the initrd. The __decompress() function is used in the preboot environment to decompress a zstd