summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_page.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 98ec1ef..94943ec 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -1677,6 +1677,8 @@ vm_page_cowfault(vm_page_t m)
mnew->valid = VM_PAGE_BITS_ALL;
vm_page_dirty(mnew);
vm_page_flag_clear(mnew, PG_BUSY);
+ mnew->wire_count = m->wire_count - m->cow;
+ m->wire_count = m->cow;
}
}
OpenPOWER on IntegriCloud