Re: [PATCH v4 6/8] x86: bump ZO_z_extra_bytes margin for zstd

From: Borislav Petkov
Date: Thu Apr 02 2020 - 11:58:17 EST


On Wed, Apr 01, 2020 at 05:33:03PM +0000, Nick Terrell wrote:
> The code is currently written so that all the compression algorithms use the
> same ZO_z_extra_bytes. It is taken to be the maximum of the growth rate
> plus the maximum fixed overhead. Just a few lines above is the comment:
>
> # â Hence safety
> # margin should be updated to cover all decompressors so that we don't
> # need to deal with each of them separately. Please check
> # the description in lib/decompressor_xxx.c for specific information.
>
> So I was been following the guidance in the comments.

Please state that in the commit message when you send your next
revision.

> Does it matter? Iâm not an expert here,

Huh, you're only sending the code then? Or what do you mean with not
being an expert?

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette