You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jianglk.darker
7ee447c011
|
4 months ago | |
---|---|---|
.. | ||
test | 4 months ago | |
Makefile | 4 months ago | |
README.md | 4 months ago | |
btrfs-benchmark.sh | 4 months ago | |
btrfs-extract-benchmark.sh | 4 months ago | |
decompress_sources.h | 4 months ago | |
linux.mk | 4 months ago | |
linux_zstd.h | 4 months ago | |
mem.h | 4 months ago | |
squashfs-benchmark.sh | 4 months ago | |
zstd_compress_module.c | 4 months ago | |
zstd_decompress_module.c | 4 months ago | |
zstd_deps.h | 4 months 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
cd
into this directory.- Run
make libzstd
and read the output. Make sure that all the diffs printed and changes made by the script are correct. - Run
make test
and ensure that it passes. - Import zstd into the Linux Kernel
make import LINUX=/path/to/linux/repo
- Inspect the diff for sanity.
- 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.
- Test the diff. Benchmark if necessary. Make sure to test multiple architectures: At least x86, i386, and arm.
- Submit the patch to the LKML.