summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2004-02-16 03:43:57 +0000
committerAlan Cox <alc@FreeBSD.org>2004-02-16 03:43:57 +0000
commit5850fa3e42bd2bd0b623fe953c3e90d17624dbff (patch)
tree1515e6dab984bff1f3aa4032a1e7304666a31760
parenteaecffb942bce562198b2eddea16b9225d0da63f (diff)
Notes
-rw-r--r--sys/vm/vm_contig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c
index fcdd45d08446..311a87a50252 100644
--- a/sys/vm/vm_contig.c
+++ b/sys/vm/vm_contig.c
@@ -105,6 +105,8 @@ vm_contig_launder(int queue)
return (TRUE);
}
vm_page_test_dirty(m);
+ if (m->dirty == 0 && m->busy == 0 && m->hold_count == 0)
+ pmap_remove_all(m);
if (m->dirty) {
object = m->object;
if (object->type == OBJT_VNODE) {