lkml.org 
[lkml]   [1996]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Possible kernel optimization
Ingo Molnar writes:
>
> now that we definitely do ELF bootloading only, it's the right time to
> start thinking about the details? :)
>
> btw, imho it would be cleaner if we did it this way:
>
> - define an 'init module'. This 'module' can be unloaded after booting
> has finished. Just by calling 'rmmod initmodule' from user-space.
>
> the boot code has to set up this 'module', and we need support from the
> kernel image linker too. The kernel could decrease the kernel usage
> counter once all init functions in it were called?

Sounds OK with me, but why stop there? Make every part of the kernel
internals a module. Then, to upgrade a system, one unloads everything except
the module code, then reloads all the new modules except the init module,
then loads the init module. And boom, it boots again. :) So upgrading is
only necessary when updating the module code.

I'm sure this is just as easy as it sounds. :)
--
_ ____ Joe Fouche (jf@ugcs.caltech.edu)
___| |--- Deranged College Student
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.060 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site