Re: [RFC] Enabling other oom schemes

Helge Hafting
2003-09-14T09:03:50Z

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