login
Header Space

 
 

Re: [PATCH] Compress kernel modules on installation.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sam Ravnborg <sam@...>
Cc: <linux-kernel@...>, <linux-kbuild@...>
Date: Tuesday, April 1, 2008 - 3:42 pm

On Tue, 26 Feb 2008 12:28:40 +0100
Sam Ravnborg <sam@ravnborg.org> wrote:


(Sorry for my lazy replying...)

I think it should be mentioned in Documentation/kbuild/modules.txt at
Chapter 2.2. The following should be added to the modules_install
target part:

If MODULES_COMPRESS is set when the modules_install target is run then
the module is compressed after it has been copied to 
/lib/modules/<kernel-version>. Compressed modules require 
module-init-tools installed with --zlib-enabled.

Does that sound right?

Anyway, as it currently is with the patch, MODULE_COMPRESS isn't as scalable as it perhaps could be and I've been thinking I should try and make a better version of the patch which is scalable (So depending on how module-init-tools is updated in the future each option would also give which version of module-init-tools is required to use that compression method in the init/KConfig file)

Steve
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Compress kernel modules on installation., Steve Brokenshire, (Mon Feb 25, 5:42 pm)
Re: [PATCH] Compress kernel modules on installation., Sam Ravnborg, (Tue Feb 26, 7:28 am)
Re: [PATCH] Compress kernel modules on installation., Steve Brokenshire, (Tue Apr 1, 3:42 pm)
Re: [PATCH] Compress kernel modules on installation., Willy Tarreau, (Mon Feb 25, 6:21 pm)
Re: [PATCH] Compress kernel modules on installation., Adrian Bunk, (Tue Feb 26, 5:14 am)
Re: [PATCH] Compress kernel modules on installation., Willy Tarreau, (Tue Feb 26, 6:22 am)
Re: [PATCH] Compress kernel modules on installation., Adrian Bunk, (Tue Feb 26, 8:30 am)
Re: [PATCH] Compress kernel modules on installation., Willy Tarreau, (Tue Feb 26, 9:04 am)
Re: [PATCH] Compress kernel modules on installation., Oleg Verych, (Mon Feb 25, 6:17 pm)
Re: [PATCH] Compress kernel modules on installation., Willy Tarreau, (Mon Feb 25, 6:19 pm)
Re: [PATCH] Compress kernel modules on installation., Oleg Verych, (Mon Feb 25, 6:32 pm)
Re: [PATCH] Compress kernel modules on installation., Willy Tarreau, (Mon Feb 25, 7:21 pm)
speck-geostationary