mame/3rdparty/zstd/contrib/linux-kernel
Vas Crabb 05e69b43e9
Added Zstandard support for zip archives and CHDs. (#11827)
* 3rdparty/zstd: Added Zstandard compression library version 1.5.5.
* util/unzip.cpp: Added support for Zstandard compression (method 93).
* util/chdcodec.cpp: Added support for Zstandard compression.
* 3rdparty/flac: Always define NDEBUG to avoid log spam.
2023-12-11 10:48:02 +11:00
..
test Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
.gitignore Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
btrfs-benchmark.sh Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
btrfs-extract-benchmark.sh Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
decompress_sources.h Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
linux_zstd.h Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
linux.mk Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
Makefile Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
mem.h Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
README.md Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
squashfs-benchmark.sh Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
zstd_common_module.c Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
zstd_compress_module.c Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
zstd_decompress_module.c Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00
zstd_deps.h Added Zstandard support for zip archives and CHDs. (#11827) 2023-12-11 10:48:02 +11:00

Zstd in the Linux Kernel

This directory contains the scripts needed to transform upstream zstd into the version imported into the kernel. All the transforms are automated and tested by our continuous integration.

Upgrading Zstd in the Linux Kernel

  1. cd into this directory.
  2. Run make libzstd and read the output. Make sure that all the diffs printed and changes made by the script are correct.
  3. Run make test and ensure that it passes.
  4. Import zstd into the Linux Kernel make import LINUX=/path/to/linux/repo
  5. Inspect the diff for sanity.
  6. Check the Linux Kernel history for zstd. If any patches were made to the kernel version of zstd, but not to upstream zstd, then port them upstream if necessary.
  7. Test the diff. Benchmark if necessary. Make sure to test multiple architectures: At least x86, i386, and arm.
  8. Submit the patch to the LKML.