Re: [PATCH v8 2/7] lib: add zstd support to decompress
From: Ingo Molnar
Date: Fri Jul 24 2020 - 08:12:58 EST
* Nick Terrell <nickrterrell@xxxxxxxxx> 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 initramfs decompression.
> + */
> +#define ZSTD_IOBUF_SIZE (1 << 17)
Nit: s/anyways/anyway
Also, please use the customary (multi-line) comment style:
/*
* Comment .....
* ...... goes here.
*/
specified in Documentation/CodingStyle.
Thanks,
Ingo