If I do a little
--- swap_pager.c.orig Thu Feb 4 23:30:43 1999
+++ swap_pager.c Thu Feb 4 23:31:22 1999
@@ -203,8 +203,10 @@
swp_sizecheck()
{
if (vm_swap_size < nswap_lowat) {
+/*
if (swap_pager_full == 0)
printf("swap_pager: out of swap space\n");
+*/
swap_pager_full = 1;
} else if (vm_swap_size > nswap_hiwat) {
swap_pager_full = 0;
@@ -442,9 +444,7 @@
{
daddr_t blk;
- if ((blk = blist_alloc(swapblist, npages)) == SWAPBLK_NONE) {
- printf("swap_pager_getswapspace: failed\n");
- } else {
+ if ((blk = blist_alloc(swapblist, npages)) != SWAPBLK_NONE) {
vm_swap_size -= npages;
swp_sizecheck();
}
My system survives through the run quite well. It does in fact seem I was
correct in my educated guess, but if anyone knows differently, (Matt, John
Dyson) please let me know! Right now it seems the printf()s can cause the
deadlock.
Brian Feldman _ __ ___ ___ ___
[email protected] _ __ ___ | _ ) __| \
http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) |
FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message