lkml.org 
[lkml]   [2003]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC] Enabling other oom schemes
From
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.054 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site