[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]