diff options
-rw-r--r-- | sys/alpha/alpha/pmap.c | 4 | ||||
-rw-r--r-- | sys/amd64/amd64/pmap.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/pmap.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index 2f5b4e6..f90cebd 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -43,7 +43,7 @@ * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 * from: i386 Id: pmap.c,v 1.193 1998/04/19 15:22:48 bde Exp * with some ideas from NetBSD's alpha pmap - * $Id: pmap.c,v 1.9 1998/08/23 16:05:55 dfr Exp $ + * $Id: pmap.c,v 1.10 1998/09/04 18:49:35 dfr Exp $ */ /* @@ -1353,6 +1353,8 @@ pmap_release_free_page(pmap_t pmap, vm_page_t p) } #endif + p->wire_count--; + cnt.v_wire_count--; vm_page_free_zero(p); return 1; } diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 2be04c8..7f49409 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.208 1998/09/04 13:10:34 ache Exp $ + * $Id: pmap.c,v 1.209 1998/09/06 23:04:20 tegge Exp $ */ /* @@ -1328,6 +1328,8 @@ pmap_release_free_page(pmap, p) if (pmap->pm_ptphint && (pmap->pm_ptphint->pindex == p->pindex)) pmap->pm_ptphint = NULL; + p->wire_count--; + cnt.v_wire_count--; vm_page_free_zero(p); return 1; } diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 2be04c8..7f49409 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.208 1998/09/04 13:10:34 ache Exp $ + * $Id: pmap.c,v 1.209 1998/09/06 23:04:20 tegge Exp $ */ /* @@ -1328,6 +1328,8 @@ pmap_release_free_page(pmap, p) if (pmap->pm_ptphint && (pmap->pm_ptphint->pindex == p->pindex)) pmap->pm_ptphint = NULL; + p->wire_count--; + cnt.v_wire_count--; vm_page_free_zero(p); return 1; } |