From: miod Date: Sat, 17 May 2014 12:22:09 +0000 (+0000) Subject: In pmap_remove_page(), do not keep wired mappings; the callers want them gone. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63c8ebfef5b0688debde55f81b182d36d485339d;p=openbsd In pmap_remove_page(), do not keep wired mappings; the callers want them gone. --- diff --git a/sys/arch/m88k/m88k/pmap.c b/sys/arch/m88k/m88k/pmap.c index 71c5411a1b9..2109637b695 100644 --- a/sys/arch/m88k/m88k/pmap.c +++ b/sys/arch/m88k/m88k/pmap.c @@ -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); /*