Re: update8 [PATCH 2/5] init: bzip2 or lzma -compressed kernels andinitrds

From: H. Peter Anvin
Date: Sun Jan 04 2009 - 18:08:36 EST


This is a multi-part message in MIME format.Hi Alain,

Looking pretty good now. The only issues that I see so far are:

- Putting the kernel compression selection in init/Kconfig isn't going
to work too well, since it affects all architectures, and not all
architectures even do their own decompression (for quite a few
architectures it's the boot loader's responsibility.)

I see two options here: either have this be parameterized by the arch
Kconfig files, or simply move this chunk into arch/*/Kconfig as part
of the arch-enablement patches. The latter is probably the simplest,
even if it means some replicated code.

Let me know what you think -- I can do this pretty easily while
importing, so you don't need to submit a full new patchset.

- I did a followon patch (attached) to change the ramdisk compression
search to table driven. Since I already did the followon patch, don't
worry about it.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.