You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ut_SG560D/QSSI.12/external/zstd/contrib/linux-kernel
quectel 55794fdde8 QCM6490:Alyssa:upload QCM6490 android12 base code.
Change-Id: If3e3c4e01b19443714d880ae669aaa8b39edfff7
4 years ago
..
test QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
Makefile QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
README.md QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
btrfs-benchmark.sh QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
btrfs-extract-benchmark.sh QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
decompress_sources.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
linux.mk QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
linux_zstd.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
mem.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
squashfs-benchmark.sh QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
zstd_compress_module.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
zstd_decompress_module.c QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago
zstd_deps.h QCM6490:Alyssa:upload QCM6490 android12 base code. 4 years ago

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.