[olpc-software] graceful handling of out-of-memory conditions

Alan Cox alan at redhat.com
Fri Mar 17 15:02:59 UTC 2006


On Fri, Mar 17, 2006 at 09:47:39AM -0500, Jim Gettys wrote:
> So when the user changes the state of what is on top, the WM can then
> warn some processes they might be shot in time for them to save state,
> update the priority list in the kernel, and the kernel would know what
> to kill first when OOM happens.

That is certainly quite easy to implement. At the moment the standard code
essentially does

	score = heuristic(process)

for each process, and allowing that to be set rather than guessed by the kernel
is not a big change, although a deviation from the base kernel.




More information about the olpc-software mailing list