RE: [PATCH] /proc/config.gz against 2.2.3

Jeremy Fitzhardinge (jeremy@goop.org)
Wed, 17 Mar 1999 10:06:53 -0800 (PST)


On 17-Mar-99 Oliver Xymoron wrote:
> On Tue, 16 Mar 1999, Albert D. Cahalan wrote:
>
>> Since the kernel already has decompression code, you might be able to
>> have both with very little extra code.
>
> Hopefully it's marked __init.

Well, no, the ppp stuff needs it, and there's an ever-increasing number of
other places which need to decompress (ramdisks, for example, though that is
init).

At last count there were at least 4-5 separate copies of the gzip decompressor
in the kernel. I've got a patch to make a gzip (de)compression a general
library function and exporting it via the modules interface, and to change the
various users of it to just call the library. I was saving it up for 2.3, but
I guess there's some immediate use for it.

J

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