Brucey fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
..
test fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
.gitignore fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
Makefile fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
README.md fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
btrfs-benchmark.sh fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
btrfs-extract-benchmark.sh fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
decompress_sources.h fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
linux.mk fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
linux_zstd.h fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
mem.h fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
squashfs-benchmark.sh fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
zstd_compress_module.c fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
zstd_decompress_module.c fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás
zstd_deps.h fa2be51214 Archive.Zstd. Initial Import. 3 anos atrás

README.md

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.