diff options
author | kib <kib@FreeBSD.org> | 2010-04-06 10:43:01 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-04-06 10:43:01 +0000 |
commit | 47feb6893a7e6951cc6222a540259f6cfa144194 (patch) | |
tree | a5625108ba035786ce15e0432fc843dd55858bc0 /ObsoleteFiles.inc | |
parent | e9fbee49d7ea41f69a621391939d5d7b8b13f82e (diff) | |
download | FreeBSD-src-47feb6893a7e6951cc6222a540259f6cfa144194.zip FreeBSD-src-47feb6893a7e6951cc6222a540259f6cfa144194.tar.gz |
When OOM searches for a process to kill, ignore the processes already
killed by OOM. When killed process waits for a page allocation, try to
satisfy the request as fast as possible.
This removes the often encountered deadlock, where OOM continously
selects the same victim process, that sleeps uninterruptibly waiting
for a page. The killed process may still sleep if page cannot be
obtained immediately, but testing has shown that system has much
higher chance to survive in OOM situation with the patch.
In collaboration with: pho
Reviewed by: alc
MFC after: 4 weeks
Diffstat (limited to 'ObsoleteFiles.inc')
0 files changed, 0 insertions, 0 deletions