Re: [discuss] Re: [CFT] inflate.c rework arch testing needed

From: Jörn Engel
Date: Thu Apr 01 2004 - 07:17:54 EST


On Sun, 28 March 2004 09:00:15 +0200, Pavel Machek wrote:
>
> > The code for new versions of zlib is significantly scarier last I
> > checked and there's no particular advantage to it. But one of the
> > primary motivations here is to get to the point where something like
> > bunzip2 or even a new zlib is a drop-in replacement.
>
> Some people want fast-but-not-big-ratio compressor for speeding up swsusp.
> If compressors are drop-in, thats very good.

Also keep in mind, which zlib you are talking about. Matt's patch is
to lib/inflate.c, which is used exclusively for the bootloader which
is built-in to the kernel on some arches. That one was always far
behind and scary to look at.

The real kernel zlib is in a somewhat better state, many people cared
about and worked on it. It's not great either, but at least better.
And yes, drop-in replacement or even runtime choice would be nice here.

Jörn

--
The story so far:
In the beginning the Universe was created. This has made a lot
of people very angry and been widely regarded as a bad move.
-- Douglas Adams?
-
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/