Re: [PATCH] m68k: add Zstandard-compressed vmlinux target
From: Daniel Palmer
Date: Thu Dec 03 2026 - 05:16:14 EST
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.
I think I even sent patches to add lz4 a while back, some of my m68k
machines are booting from lz4 kernels...
Thanks,
Daniel