summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-10-25 05:35:44 +0000
committerdg <dg@FreeBSD.org>1994-10-25 05:35:44 +0000
commit5461dd7c15169b6e78866a72f18c478feba15cc9 (patch)
treec3dc73862be05255d9fda0c193550f5bf3697ce9
parentf77f6cd0444e4b358e84e6c03a52e9b42b6d6001 (diff)
downloadFreeBSD-src-5461dd7c15169b6e78866a72f18c478feba15cc9.zip
FreeBSD-src-5461dd7c15169b6e78866a72f18c478feba15cc9.tar.gz
#if 0'd out the object cache trimming code - there are multiple ways
that the pageout daemon can deadlock otherwise. Submitted by: John Dyson
-rw-r--r--sys/vm/vm_pageout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 62108a4..5dd10c5 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -65,7 +65,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_pageout.c,v 1.21 1994/10/23 20:53:33 davidg Exp $
+ * $Id: vm_pageout.c,v 1.22 1994/10/23 21:03:09 davidg Exp $
*/
/*
@@ -490,6 +490,7 @@ vm_pageout_scan()
int force_wakeup = 0;
int cache_size, orig_cache_size;
+#if 0
/*
* We manage the cached memory by attempting to keep it
* at about the desired level.
@@ -533,6 +534,7 @@ redeact:
vm_object_cache_lock();
}
vm_object_cache_unlock();
+#endif
morefree:
/*
OpenPOWER on IntegriCloud