summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1998-10-21 11:38:14 +0000
committerdg <dg@FreeBSD.org>1998-10-21 11:38:14 +0000
commit3bb5ec13b622f418d6224bd7c4698ea77782841a (patch)
treeba57ce5cf4396f2be04a30e59f77b27921d46b5f /sys/alpha
parent98c5904a24278eb1aab04769afd17a38edfe46e1 (diff)
downloadFreeBSD-src-3bb5ec13b622f418d6224bd7c4698ea77782841a.zip
FreeBSD-src-3bb5ec13b622f418d6224bd7c4698ea77782841a.tar.gz
Decrement the now unused page table page's wire_count prior to freeing it.
It will soon be required that pages have a zero wire_count when being freed.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/pmap.c4
1 files changed, 3 insertions, 1 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;
}
OpenPOWER on IntegriCloud