diff options
author | peter <peter@FreeBSD.org> | 2002-08-31 03:11:20 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-08-31 03:11:20 +0000 |
commit | 113b54fd8b0b2541d227a05a3fa2eca27f50953a (patch) | |
tree | 39d2d18872b1dee9e9bc50873faee5651644179c /sys/ia64 | |
parent | 6c834557561336b62da3bbd60b6e33a1eb7cd2bf (diff) | |
download | FreeBSD-src-113b54fd8b0b2541d227a05a3fa2eca27f50953a.zip FreeBSD-src-113b54fd8b0b2541d227a05a3fa2eca27f50953a.tar.gz |
Do not use an object for the pte and pv zones on ia64 because it overrides
the pmap_allocf() function that we provide above. We still use the limits
via other means.
Submitted by: jeff
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/pmap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index 114bb15..facd47a 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 } |