Re: [PATCH] lib/xz: Add ARM64 BCJ filter
From: Lasse Collin
Date: Wed Nov 08 2023 - 13:29:15 EST
On 2023-11-08 Andrew Morton wrote:
> On Wed, 8 Nov 2023 19:44:48 +0200 Lasse Collin
> <lasse.collin@xxxxxxxxxxx> 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