summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-03-28 04:53:28 +0000
committerdyson <dyson@FreeBSD.org>1996-03-28 04:53:28 +0000
commit903a66b4af563ab1d458c922fa4cbfc59d9cb018 (patch)
treee0dca2fd627513ccae987c257604750551675787 /sys/vm/vm_page.c
parentf766c05521db606311b3b7fe35b927377d6cf400 (diff)
downloadFreeBSD-src-903a66b4af563ab1d458c922fa4cbfc59d9cb018.zip
FreeBSD-src-903a66b4af563ab1d458c922fa4cbfc59d9cb018.tar.gz
VM performance improvements, and reorder some operations in VM fault
in anticipation of a fix in pmap that will allow the mlock system call to work without panicing the system.
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 9035525..6f10cea 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91
- * $Id: vm_page.c,v 1.48 1996/03/02 02:54:24 dyson Exp $
+ * $Id: vm_page.c,v 1.49 1996/03/09 06:56:39 dyson Exp $
*/
/*
@@ -1006,8 +1006,10 @@ vm_page_cache(m)
{
int s;
- if ((m->flags & PG_BUSY) || m->busy || m->wire_count)
+ if ((m->flags & PG_BUSY) || m->busy || m->wire_count) {
+ printf("vm_page_cache: attempting to cache busy page\n");
return;
+ }
if (m->queue == PQ_CACHE)
return;
OpenPOWER on IntegriCloud