[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221018020519.never.337-kees@kernel.org>
Date: Mon, 17 Oct 2022 19:08:08 -0700
From: Kees Cook <keescook@...omium.org>
To: Ard Biesheuvel <ardb@...nel.org>
Cc: Kees Cook <keescook@...omium.org>, Tony Luck <tony.luck@...el.com>,
"Guilherme G. Piccoli" <gpiccoli@...lia.com>,
Nick Terrell <terrelln@...com>, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: [PATCH 0/5] pstore: Use zstd directly by default for compression
Hi,
Okay, here is a very lightly tested version of using zstd directly, which
should save 128KB per CPU compare to using crypto API. This leaves the
crypto API available, though, if someone wants to use it instead. Even
supporting both, this is a net reduction in code, due to dropping all
the zbufsize logic.
How does this look?
-Kees
Kees Cook (5):
pstore: Remove worse-case compression size logic
pstore: Allow for arbitrary compression algorithm
pstore: Use size_t for compress/decompression type widths
pstore: Refactor compression initialization
pstore: Use zstd directly by default for compression
fs/pstore/Kconfig | 131 +++++-----------
fs/pstore/platform.c | 358 ++++++++++++++++++++-----------------------
2 files changed, 209 insertions(+), 280 deletions(-)
--
2.34.1
Powered by blists - more mailing lists