summaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-01-11 20:19:20 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-01-11 20:19:20 +0000
commit8b4dd3c47338a9f7bc61164944b92cbb422c2bc5 (patch)
tree3b8d0d4f9547d266ffdc3aa793c3fdcd0bfe08a4 /sys/vm/vm_object.c
parenta748978457f31010fa46eb6d52078ea2ade6f432 (diff)
Notes
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r--sys/vm/vm_object.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 15f30933eea9..89967e83242b 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_object.c,v 1.15 1995/01/09 16:05:49 davidg Exp $
+ * $Id: vm_object.c,v 1.16 1995/01/11 20:00:09 davidg Exp $
*/
/*
@@ -1172,7 +1172,8 @@ again:
next = p->listq.tqe_next;
- if ((p->flags & PG_BUSY) || p->busy || p->bmapped) {
+ if ((p->flags & (PG_BUSY | PG_FICTITIOUS | PG_CACHE)) ||
+ !p->valid || p->hold_count || p->wire_count || p->busy || p->bmapped) {
p = next;
continue;
}