Date: Tue, 6 Apr 2010 10:43:01 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_sig.c src/sys/sys proc.h src/sys/vm vm_fault.c vm_pageout.c Message-ID: <201004061046.o36AkjUs020338@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2010-04-06 10:43:01 UTC
FreeBSD src repository
Modified files:
sys/kern kern_sig.c
sys/sys proc.h
sys/vm vm_fault.c vm_pageout.c
Log:
SVN rev 206264 on 2010-04-06 10:43:01Z by kib
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
Revision Changes Path
1.388 +1 -0 src/sys/kern/kern_sig.c
1.545 +2 -1 src/sys/sys/proc.h
1.266 +15 -6 src/sys/vm/vm_fault.c
1.310 +2 -2 src/sys/vm/vm_pageout.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004061046.o36AkjUs020338>
