public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lasse Collin <lasse.collin@tukaani.org>
To: Jubin Zhong <zhongjubin@huawei.com>
Cc: <akpm@linux-foundation.org>, <wangfangpeng1@huawei.com>,
	<liaohua4@huawei.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] kbuild: Enable armthumb BCJ filter for Thumb-2 kernel
Date: Sun, 21 Nov 2021 23:37:22 +0200	[thread overview]
Message-ID: <20211121233722.708131a8@kaneli> (raw)
In-Reply-To: <1637379771-39449-1-git-send-email-zhongjubin@huawei.com>

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@huawei.com>

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

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

-- 
Lasse Collin

  reply	other threads:[~2021-11-21 21:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-20  3:42 [PATCH v2] kbuild: Enable armthumb BCJ filter for Thumb-2 kernel Jubin Zhong
2021-11-21 21:37 ` Lasse Collin [this message]
2022-03-21  3:40   ` Jubin Zhong
2022-03-26 18:35     ` Lasse Collin
2022-03-28  2:48       ` [PATCH v2 RESEND] " Jubin Zhong
2022-04-02  8:35         ` Jubin Zhong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211121233722.708131a8@kaneli \
    --to=lasse.collin@tukaani.org \
    --cc=akpm@linux-foundation.org \
    --cc=liaohua4@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wangfangpeng1@huawei.com \
    --cc=zhongjubin@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox