pstore: Use zstd directly by default for compression
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | pstore: Remove worse-case compression size logicfs/ | +9 | 0 replies | |
| 2/5 | pstore: Allow for arbitrary compression algorithmfs/ fs/ | +47 | 0 replies | |
| 3/5 | pstore: Use size_t for compress/decompression type widthsfs/ | +32 | 0 replies | |
| 4/5 | pstore: Refactor compression initializationfs/ | +43 | 0 replies | |
| 5/5 | pstore: Use zstd directly by default for compressionfs/ fs/ | +97 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)
Signature · 1 line
2.34.1