diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 94943ecc58c2..9cc8642bb93c 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1651,6 +1651,7 @@ vm_page_cowfault(vm_page_t m) pindex = m->pindex; retry_alloc: + pmap_remove_all(m); vm_page_remove(m); mnew = vm_page_alloc(object, pindex, VM_ALLOC_NORMAL); if (mnew == NULL) {