Merge tag 'x86-boot-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 boot updates from Ingo Molnar: "The main change in this cycle was to add support for ZSTD-compressed kernel and initrd images. ZSTD has a very fast decompressor, yet it compresses better than gzip" * tag 'x86-boot-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: Documentation: dontdiff: Add zstd compressed files .gitignore: Add ZSTD-compressed files x86: Add support for ZSTD compressed kernel x86: Bump ZO_z_extra_bytes margin for zstd usr: Add support for zstd compressed initramfs init: Add support for zstd compressed kernel lib: Add zstd support to decompress lib: Prepare zstd for preboot environment, improve performance
This commit is contained in:
+14
-1
@@ -191,13 +191,16 @@ config HAVE_KERNEL_LZO
|
||||
config HAVE_KERNEL_LZ4
|
||||
bool
|
||||
|
||||
config HAVE_KERNEL_ZSTD
|
||||
bool
|
||||
|
||||
config HAVE_KERNEL_UNCOMPRESSED
|
||||
bool
|
||||
|
||||
choice
|
||||
prompt "Kernel compression mode"
|
||||
default KERNEL_GZIP
|
||||
depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KERNEL_LZO || HAVE_KERNEL_LZ4 || HAVE_KERNEL_UNCOMPRESSED
|
||||
depends on HAVE_KERNEL_GZIP || HAVE_KERNEL_BZIP2 || HAVE_KERNEL_LZMA || HAVE_KERNEL_XZ || HAVE_KERNEL_LZO || HAVE_KERNEL_LZ4 || HAVE_KERNEL_ZSTD || HAVE_KERNEL_UNCOMPRESSED
|
||||
help
|
||||
The linux kernel is a kind of self-extracting executable.
|
||||
Several compression algorithms are available, which differ
|
||||
@@ -276,6 +279,16 @@ config KERNEL_LZ4
|
||||
is about 8% bigger than LZO. But the decompression speed is
|
||||
faster than LZO.
|
||||
|
||||
config KERNEL_ZSTD
|
||||
bool "ZSTD"
|
||||
depends on HAVE_KERNEL_ZSTD
|
||||
help
|
||||
ZSTD is a compression algorithm targeting intermediate compression
|
||||
with fast decompression speed. It will compress better than GZIP and
|
||||
decompress around the same speed as LZO, but slower than LZ4. You
|
||||
will need at least 192 KB RAM or more for booting. The zstd command
|
||||
line tool is required for compression.
|
||||
|
||||
config KERNEL_UNCOMPRESSED
|
||||
bool "None"
|
||||
depends on HAVE_KERNEL_UNCOMPRESSED
|
||||
|
||||
Reference in New Issue
Block a user