[olpc-software] welcome to the olpc software mailing list
Jim Gettys
jg at freedesktop.org
Mon Mar 6 18:19:54 UTC 2006
On Mon, 2006-03-06 at 13:16 -0500, Alan Cox wrote:
>
> > 2) Getting OOM processing hooks out into user space: the window manager
> > is the place where we know what the user cares about the most. Right
> > now, the kernel randomly picks something to kill, usually X ;-).
>
> OOM is already optional. You just set no overcommit and the system will limit
> address space allocation to a given percentage of ram + swap to make OOM
> fairly close to impossible.
>
Ah, but I want OOM: I just need to be able to control what gets killed,
possibly warning that application long enough in advance it could save
its state for a later transparent restart... The kernel has no insight
into that sort of behavior.
- Jim
More information about the olpc-software
mailing list