Messages in this thread | | | Date | Sun, 14 Sep 2003 11:12:12 +0200 | Subject | Re: [RFC] Enabling other oom schemes | From | Helge Hafting <> |
| |
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/
| |