Re: [PATCH 2.6.9-rc1] ppc32: Switch arch/ppc/boot to zlib_inflate

From: Mark Adler
Date: Fri Sep 03 2004 - 19:29:48 EST


Tom Rini <trini@xxxxxxxxxxxxxxxxxxx> wrote:
The following patch switches arch/ppc/boot over from using its own
version of zlib to the code found under lib/zlib_inflate. The plus side
to this, is one less version of zlib stuff around in the kernel. The
downside is that the zlib code is ~8kB larger now, so I'm not sure if
this is a good idea.

If I understand this correctly, you just need a small inflator for
decompression during boot. There is such a thing that has both small
code and small memory requirements called "puff", which you can find
in zlib's contrib directory. The only penalty is that it's about half
the speed of zlib's inflate. But that's still pretty fast.

mark

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/