lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211121233722.708131a8@kaneli>
Date:   Sun, 21 Nov 2021 23:37:22 +0200
From:   Lasse Collin <lasse.collin@...aani.org>
To:     Jubin Zhong <zhongjubin@...wei.com>
Cc:     <akpm@...ux-foundation.org>, <wangfangpeng1@...wei.com>,
        <liaohua4@...wei.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] kbuild: Enable armthumb BCJ filter for Thumb-2
 kernel

On 2021-11-20 Jubin Zhong wrote:
> xz_wrap.sh use $SRCARCH to detect the BCJ filter. However, assigning
> arm BCJ filter to Thumb-2 kernel is not optimal. In my case, about 5%
> decrease of image size is observed with armthumb BCJ filter:
> 
> Test results:
>   hardware:      QEMU emulator version 3.1.0
>   config:        vexpress_defconfig with THUMB2_KERNEL & KERNEL_XZ on
>   arm BCJ:       4029808
>   armthumb BCJ:  3827280
> 
> Choose armthumb BCJ filter for Thumb-2 kernel to make smaller images.
> 
> Signed-off-by: Jubin Zhong <zhongjubin@...wei.com>

I still didn't test it but it looks good to me.

Acked-by: Lasse Collin <lasse.collin@...aani.org>

-- 
Lasse Collin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ