Source-Changes archive

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

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



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

Modified Files:
        src/sys/kern [netbsd-1-6]: kern_malloc.c

Log Message:
Pull up revision 1.73 (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.71 -r1.71.4.1 src/sys/kern/kern_malloc.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