Re: [PATCH] pstore: migrate to crypto acomp interface (take 2)
From: Guilherme G. Piccoli
Date: Mon Oct 17 2022 - 14:23:24 EST
On 17/10/2022 15:14, Ard Biesheuvel wrote:
> [...]
>
> So at that point, I wondered what the point is of all this complexity.
> Do we really need 6 different algorithms to compress a couple of K of
> ASCII text on a code path that is ice cold by definition? Wouldn't it
> be better to drop the crypto API altogether here, and just use GZIP
> via the library interface?
Skipping all the interesting and more complex parts, I'd just want to
consider zstd maybe? Quite fast and efficient - it's what we're using by
default on Steam Deck.
I'm not sure what is the gzip library interface - you mean skipping the
scomp/legacy comp interface, and make use directly of gzip?
Cheers,
Guilherme