path: root/.gitignore
diff options
authorNick Terrell <>2020-07-30 12:08:39 -0700
committerIngo Molnar <>2020-07-31 11:49:09 +0200
commitfb46d057db824693994b048d3a8c869892afaa3f (patch)
tree09d43e27af366f91b5845de5fa02ec58b52e5b55 /.gitignore
parent0fe4f4ef8cc8e15a8f29f08f4be6128395f125f6 (diff)
x86: Add support for ZSTD compressed kernel
- Add support for zstd compressed kernel - Define __DISABLE_EXPORTS in Makefile - Remove __DISABLE_EXPORTS definition from kaslr.c - Bump the heap size for zstd. - Update the documentation. Integrates the ZSTD decompression code to the x86 pre-boot code. Zstandard requires slightly more memory during the kernel decompression on x86 (192 KB vs 64 KB), and the memory usage is independent of the window size. __DISABLE_EXPORTS is now defined in the Makefile, which covers both the existing use in kaslr.c, and the use needed by the zstd decompressor in misc.c. This patch has been boot tested with both a zstd and gzip compressed kernel on i386 and x86_64 using buildroot and QEMU. Additionally, this has been tested in production on x86_64 devices. We saw a 2 second boot time reduction by switching kernel compression from xz to zstd. Signed-off-by: Nick Terrell <> Signed-off-by: Ingo Molnar <> Tested-by: Sedat Dilek <> Reviewed-by: Kees Cook <> Link:
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions