[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <562d104e-a86b-b668-2d2c-06687304f705@igalia.com>
Date: Tue, 4 Jul 2023 15:30:28 -0300
From: "Guilherme G. Piccoli" <gpiccoli@...lia.com>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: Kees Cook <keescook@...omium.org>, linux-hardening@...r.kernel.org
Subject: Re: [PATCH 0/2] pstore: Replace crypto API compression with zlib
calls
On 04/07/2023 10:52, Ard Biesheuvel wrote:
> The pstore layer implements support for compression of kernel log
> output, using a variety of compressions algorithms provided by the
> [deprecated] crypto API 'comp' interface.
>
> This appears to have been somebody's pet project rather than a solution
> to a real problem: the original deflate compression is reasonably fast,
> compressed well and is comparatively small in terms of code footprint,
> and so the flexibility that the crypto API integration provides does
> little more than complicate the code for no reason.
>
> So let's get rid of this complexity, and switch back to zlib deflate
> using the library interface.
Thanks Ard, very nice stuff - makes total sense for me!
I'll test it in the Steam Deck - waiting a V2 (since there are some code
comments from Eric and Kees).
Cheers,
Guilherme
Powered by blists - more mailing lists