aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-08-31 03:11:20 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-08-31 03:11:20 +0000
commit0b1482d1fd7c834aee067f19b085cd1ff2eb44bb (patch)
tree39d2d18872b1dee9e9bc50873faee5651644179c
parent621c0e6c92b3e1d5275ba8406b519dd92b7efdf1 (diff)
Notes
-rw-r--r--sys/ia64/ia64/pmap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 114bb15e6251..facd47a8036c 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -226,7 +226,9 @@ struct mtx pmap_ridmutex;
* Data for the pv entry allocation mechanism
*/
static uma_zone_t pvzone;
+#if 0
static struct vm_object pvzone_obj;
+#endif
static int pv_entry_count = 0, pv_entry_max = 0, pv_entry_high_water = 0;
static int pmap_pagedaemon_waken = 0;
static struct pv_entry *pvbootentries;
@@ -236,9 +238,8 @@ static int pvbootnext, pvbootmax;
* Data for allocating PTEs for user processes.
*/
static uma_zone_t ptezone;
-static struct vm_object ptezone_obj;
#if 0
-static struct ia64_lpte *pteinit;
+static struct vm_object ptezone_obj;
#endif
/*
@@ -558,8 +559,10 @@ pmap_init2()
TUNABLE_INT_FETCH("vm.pmap.shpgperproc", &shpgperproc);
pv_entry_max = shpgperproc * maxproc + vm_page_array_size;
pv_entry_high_water = 9 * (pv_entry_max / 10);
+#if 0 /* incompatable with pmap_allocf above */
uma_zone_set_obj(pvzone, &pvzone_obj, pv_entry_max);
uma_zone_set_obj(ptezone, &ptezone_obj, pv_entry_max);
+#endif
}