diff options
| author | chs <chs@NetBSD.org> | 2002-09-15 16:54:26 +0000 |
|---|---|---|
| committer | chs <chs@NetBSD.org> | 2002-09-15 16:54:26 +0000 |
| commit | 9672ac098f8b29447426721b856563b0ac422705 (patch) | |
| tree | d818ca0471686d2ae24272751f59de181c51baba /sys/dev/raidframe | |
| parent | 6d82557c325e529b223a337863917f90ee800bfa (diff) | |
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.
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions
