ACK: [SRU][I/kvm][PATCH] UBUNTU: [Packaging] use ZSTD to compress kernel

Tim Gardner tim.gardner at canonical.com
Tue Oct 5 12:00:09 UTC 2021


Acked-by: Tim Gardner <tim.gardner at canonical.com>

On 10/5/21 5:14 AM, Dimitri John Ledkov wrote:
> BugLink: https://bugs.launchpad.net/bugs/1931725
> 
> Follow generic kernel bootspeed improvement in the kvm flavour by
> switching from lz4 to zstd compressed kernel image.
> 
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
> ---
>   debian.kvm/config/config.common.ubuntu | 4 ++--
>   debian.kvm/control.stub.in             | 2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
> index a06bc85299..9e21d07187 100644
> --- a/debian.kvm/config/config.common.ubuntu
> +++ b/debian.kvm/config/config.common.ubuntu
> @@ -1451,11 +1451,11 @@ CONFIG_KCMP=y
>   # CONFIG_KCSAN is not set
>   # CONFIG_KERNEL_BZIP2 is not set
>   # CONFIG_KERNEL_GZIP is not set
> -CONFIG_KERNEL_LZ4=y
> +# CONFIG_KERNEL_LZ4 is not set
>   # CONFIG_KERNEL_LZMA is not set
>   # CONFIG_KERNEL_LZO is not set
>   # CONFIG_KERNEL_XZ is not set
> -# CONFIG_KERNEL_ZSTD is not set
> +CONFIG_KERNEL_ZSTD=y
>   CONFIG_KERNFS=y
>   CONFIG_KEXEC=y
>   # CONFIG_KEXEC_BZIMAGE_VERIFY_SIG is not set
> diff --git a/debian.kvm/control.stub.in b/debian.kvm/control.stub.in
> index 7d0dbf9569..2fc410edd8 100644
> --- a/debian.kvm/control.stub.in
> +++ b/debian.kvm/control.stub.in
> @@ -35,7 +35,7 @@ Build-Depends:
>    libnuma-dev [amd64 arm64 ppc64el s390x] <!stage1>,
>    dkms <!stage1>,
>    curl <!stage1>,
> - lz4 [amd64 s390x] <!stage1>,
> + zstd [amd64 s390x] <!stage1>,
>    dwarves [amd64 arm64 armhf ppc64el s390x] <!stage1>,
>   Build-Depends-Indep:
>    xmlto <!stage1>,
> 

-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list