Re: why is modprobe (and nothing else) exec()'d?

From: Ingo Oeser (
Date: Sat Oct 14 2000 - 04:31:34 EST

On Fri, Oct 13, 2000 at 10:01:56AM -0400, Chris Swiedler wrote:
> occasionally-used code which could be replaced? Something like Rik's OOM
> killer comes to mind, except that obviously if you're out of memory you're
> not going to be able to load a new executable.

But you can load a module before, "MOD_INC_USE_COUNT;" it and
install a new oom_killer (or better: OOM-Handler) that suits your

You can even install one, which restores old behavior (just
panic()) to be backward-BUG-compatible ;-)

All you need, is to apply my patch[1]. It applies cleanly against
test10-pre1 an test10-pre2.

I'll soon provide an example module, which uses my OOM-killer API
so install a new OOM killer.


Ingo Oeser


Feel the power of the penguin - run linux@your.pc
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:27 EST