diff options
author | Nick Terrell <terrelln@fb.com> | 2020-07-30 12:08:37 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-07-31 11:49:08 +0200 |
commit | a30d8a39f0571425a459816ed8680e987a2ff279 (patch) | |
tree | 4f6f365a0b16eecb18d183ee55c8c5adca58de03 /arch/x86/Kconfig | |
parent | 48f7ddf785af24aa380f3282d8d4400883d0099e (diff) | |
download | linux-a30d8a39f0571425a459816ed8680e987a2ff279.tar.bz2 |
usr: Add support for zstd compressed initramfs
- Add support for a zstd compressed initramfs.
- Add compression for compressing built-in initramfs with zstd.
I have tested this patch by boot testing with buildroot and QEMU.
Specifically, I booted the kernel with both a zstd and gzip compressed
initramfs, both built into the kernel and separate. I ensured that the
correct compression algorithm was used. I tested on arm, aarch64, i386,
and x86_64.
This patch has been tested in production on aarch64 and x86_64 devices.
Additionally, I have performance measurements from internal use in
production. On an aarch64 device we saw 19 second boot time improvement
from switching from lzma to zstd (27 seconds to 8 seconds). On an x86_64
device we saw a 9 second boot time reduction from switching from xz to
zstd.
Signed-off-by: Nick Terrell <terrelln@fb.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20200730190841.2071656-5-nickrterrell@gmail.com
Diffstat (limited to 'arch/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions