aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1998-10-21 11:38:14 +0000
committerDavid Greenman <dg@FreeBSD.org>1998-10-21 11:38:14 +0000
commit9b827155f8c632484cdb72146b2c83f18f989086 (patch)
tree855f5e5c492eb2a82e76b1f180a82c055daaea7b
parent964b832929f71b26c187f90f7f0e6e0b09881cb3 (diff)
Notes
-rw-r--r--sys/alpha/alpha/pmap.c4
-rw-r--r--sys/amd64/amd64/pmap.c4
-rw-r--r--sys/i386/i386/pmap.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c
index 2f5b4e6bbe056..f90cebdf587aa 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 2be04c8eeabfb..7f4940966e48f 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 2be04c8eeabfb..7f4940966e48f 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;
}