Subject: CVS commit: [netbsd-1-6] src/sys/uvm
To: None <source-changes@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 06/02/2003 14:30:10
Module Name:	src
Committed By:	tron
Date:		Mon Jun  2 14:30:10 UTC 2003

Modified Files:
	src/sys/uvm [netbsd-1-6]: uvm_amap.h

Log Message:
Pull up revision 1.18 (requested by skrll):
add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to
return failure if swap is full and there are no free physical pages.
have malloc() use this flag if M_CANFAIL is passed to it.
use M_CANFAIL to allow amap_extend() to fail when memory is scarce.
this should prevent most of the remaining hangs in low-memory situations.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.17.16.1 src/sys/uvm/uvm_amap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.