From: Lasse Collin <lasse.collin@tukaani.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lib/xz: Add ARM64 BCJ filter
Date: Wed, 8 Nov 2023 20:21:42 +0200 [thread overview]
Message-ID: <20231108202142.7e22d4eb@kaneli> (raw)
In-Reply-To: <20231108094816.5532cac69a4b8541952f44c5@linux-foundation.org>
On 2023-11-08 Andrew Morton wrote:
> On Wed, 8 Nov 2023 19:44:48 +0200 Lasse Collin
> <lasse.collin@tukaani.org> wrote:
>
> > ARM64 kernel decompression is done by bootloaders but
> > the filter can still be useful, for example, for Squashfs.
> >
> > A duplicated check for XZ_DEC_ARM in xz_private.h was omitted too.
>
> There's nothing here that uses the new functionality?
>
> Is a squashfs patch expected?
I need to send a patch to mksquashfs. In the kernel the XZ filters are
handled by the XZ code, so Squashfs in the kernel needs no changes.
Initramfs can use the filters if initramfs contains a significant amount
of executable code. There are practical reasons why it's not commonly
done on other archs though. The main one is that kernel modules
shouldn't be filtered (worse compression). There are plans to improve
the compression tools to make this easier (it would help in other
contexts too) but it will take time.
--
Lasse Collin
prev parent reply other threads:[~2023-11-08 18:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-08 17:44 [PATCH] lib/xz: Add ARM64 BCJ filter Lasse Collin
2023-11-08 17:48 ` Andrew Morton
2023-11-08 18:21 ` Lasse Collin [this message]
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=20231108202142.7e22d4eb@kaneli \
--to=lasse.collin@tukaani.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/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