Messages in this thread | | | Date | Wed, 15 Apr 1998 13:56:57 -0400 (EDT) | From | Greg Zornetzer <> | Subject | Re: Testers wanted: exorcised kmod.c: no more daemon! |
| |
On Wed, 15 Apr 1998, Jan Gyselinck wrote:
> On Tue, 14 Apr 1998, Adam J. Richter wrote: > How about the overhead from cron? I mean, each time it runs rmmod, it > also runs a shell.... (and I think, I hope :), the kernel doesn't do that) > I didn't look at the code, but does the kernel also do 'rmmod -a' if there > are no unused modules?? (I hope it doens't do that either...) This was what the kmod introduced in 2.1.90 was doing, and I have a strong suspicion (though I have to check the kerneld code) that kerneld did much the same. As has been mentioned before (I believe by Adam), writing a program that sits in the background, wakes up every x seconds, and autocleans the modules is _very_ trivial. This should probably go into the next modutils. I'll submit patches if no one else does first.
> > We don't all have CPU-power to waste ... This is all a very relative thing. Autoloading of modules saves you memory at the cost of a small CPU & IO load every once in a while. If you can't deal with that, compile a kernel with no modules.
> > Jan Gyselinck > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.rutgers.edu >
Greg Zornetzer - gaz+@andrew.cmu.edu "Light shines brightest in the darkest night" http://www.contrib.andrew.cmu.edu/~gaz
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |