Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-1-6] src/sys/uvm



Module Name:    src
Committed By:   tron
Date:           Mon Jun  2 14:30:35 UTC 2003

Modified Files:
        src/sys/uvm [netbsd-1-6]: uvm_km.c

Log Message:
Pull up revision 1.58 (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.56.8.1 -r1.56.8.2 src/sys/uvm/uvm_km.c

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




Home | Main Index | Thread Index | Old Index