Messages in this thread | | | Date | Fri, 24 Jul 2020 14:12:50 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH v8 2/7] lib: add zstd support to decompress |
| |
* Nick Terrell <nickrterrell@gmail.com> 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
| |