In pmap_remove_page(), do not keep wired mappings; the callers want them gone.
authormiod <miod@openbsd.org>
Sat, 17 May 2014 12:22:09 +0000 (12:22 +0000)
committermiod <miod@openbsd.org>
Sat, 17 May 2014 12:22:09 +0000 (12:22 +0000)
sys/arch/m88k/m88k/pmap.c

index 71c5411..2109637 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: pmap.c,v 1.76 2014/05/08 22:17:33 miod Exp $  */
+/*     $OpenBSD: pmap.c,v 1.77 2014/05/17 12:22:09 miod Exp $  */
 
 /*
  * Copyright (c) 2001-2004, 2010, Miodrag Vallat.
@@ -1418,12 +1418,6 @@ pmap_remove_page(struct vm_page *pg)
                        pvl = pvl->pv_next;
                        continue;       /* no page mapping */
                }
-               if (pmap_pte_w(pte)) {
-                       DPRINTF(CD_RMPG, ("pmap_remove_page(%p): wired mapping not removed\n",
-                           pg));
-                       pvl = pvl->pv_next;
-                       continue;
-               }
 
                pmap_remove_pte(pmap, va, pte, pg, TRUE);
                /*