aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-02-12 20:42:19 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-02-12 20:42:19 +0000
commit41c67e12bdcdc0ce3aacd49d1207ecbe3841e7a8 (patch)
tree2d84f6ac623dfce2b8f402face1d9685671ea611
parent366b60bfedfe60e969d27e569b1eeb6284588dfa (diff)
Notes
-rw-r--r--sys/vm/vm_object.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 250f7276a69d4..cf4e6b1ed4837 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.148 1999/02/08 19:00:15 dillon Exp $
+ * $Id: vm_object.c,v 1.149 1999/02/12 09:51:43 dillon Exp $
*/
/*
@@ -844,9 +844,15 @@ shadowlookup:
* Specifically, we do not try to actually free
* the page now nor do we try to put it in the
* cache (which would cause a page fault on reuse).
+ *
+ * But we do make the page is freeable as we
+ * can without actually taking the step of unmapping
+ * it.
*/
pmap_clear_modify(VM_PAGE_TO_PHYS(m));
m->dirty = 0;
+ m->act_count = 0;
+ vm_page_deactivate(m);
}
}
}