Messages in this thread | | | Date | Sat, 31 May 2008 14:15:29 +0100 | From | Alan Cox <> | Subject | Re: OOM policy, overcommit control, and soft limits |
| |
> I'm sure someone has thought of this before me. Does anything remotely > similar to this already exist? I've googled for OOM policy, but so far > all I've seen is Rusty Lynch's patch from 2003, and really, I want this > behaviour to happen when there is still a bit of memory left, so things > can be dealt with before they are OOM-level dire.
Not that I am aware of. However you can set priorities on OOM killing order and there is a patch from the XO people which seems to have vanished into the darkness which added a nice memory pressure notifier so apps could respond to memory shortages intelligently (eg by cleaning up)
| |