summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-10-17 17:34:34 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-10-17 17:34:34 +0000
commitb38682895617d85ecd9c5bded43f90c7e2fec9fc (patch)
tree7002bc53f690feef0e74cc58621a5500a1f21ad5
parentd335cbd39f98217602573f598b6417015fa2545f (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 46216a2738b9..c004d9ec98e7 100644
--- a/sys/vm/vm_contig.c
+++ b/sys/vm/vm_contig.c
@@ -228,6 +228,8 @@ again1:
vm_page_queues[m->queue].lcnt--;
cnt.v_free_count--;
m->valid = VM_PAGE_BITS_ALL;
+ if (m->flags & PG_ZERO)
+ vm_page_zero_count--;
m->flags = 0;
KASSERT(m->dirty == 0, ("contigmalloc1: page %p was dirty", m));
m->wire_count = 0;