Re: [PATCH] m68k: add Zstandard-compressed vmlinux target

From: Artem Novak

Date: Thu Dec 03 2026 - 17:03:12 EST


Hi Daniel,

> I think I even sent patches to add lz4 a while back, some of my m68k
> machines are booting from lz4 kernels...

I'll look into those patches and the existing m68k
LZ4 boot support before proceeding with v2.

Best regards,
Artem

On Thu, Dec 3, 2026 at 4:16 AM Daniel Palmer <daniel@xxxxxxxx> wrote:
>
> Hi Artem,
>
> On Wed, 2 Dec 2026 at 16:32, Artem Novak <artem122novak@xxxxxxxxx> wrote:
> >
> > Add an optional vmlinux.zst target for building Zstandard-compressed
> > m68k kernel images.
>
> My comment is basically the same as what Finn already said but if you
> are going to add another compression format to m68k make it lz4.
> Anything else is not going to decompress fast enough to make it worth
> loading a compressed kernel from disk or network and decompressing it.
> lz4 also has an advantage over gzip in that it's not a complete
> nightmare to do on demand IO for the compressed data.
> With lz4 you have a block size and can fetch a block, decompress it
> until all blocks are decompressed without much effort.
>
>
> Thanks,
>
> Daniel