Re: [RFC] Enabling other oom schemes

From: Helge Hafting
Date: Sun Sep 14 2003 - 04:05:39 EST


On Sat, Sep 13, 2003 at 08:55:50PM -0400, Robert Love wrote:
> On Sat, 2003-09-13 at 18:04, Helge Hafting wrote:
>
> > So a "complicated" oom handler need to preallocate all the memory
> > it might ever need. Not impossible.
>
> Right. I was just pointing it out.
>
> Preallocating isn't necessarily possible e.g. you need something
> dynamically, need to call back into user-space, etc.
>
The userspace side is solvable by starting a userspace
oom handler that mlocks all the memory it
might ever need before it gets scarce. It won't
need to run other programs - it can do anything
other programs do itself.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/