diff options
author | attilio <attilio@FreeBSD.org> | 2013-02-26 23:52:23 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-02-26 23:52:23 +0000 |
commit | 74f58faa151f357af634fba0dcfdee4ab2c2d72f (patch) | |
tree | 55bb6ccfbd1aeeb88a3765586fc753518b8a3c3f /sys/powerpc | |
parent | 820ab571ec81929558d07189d73ec134851ba012 (diff) | |
download | FreeBSD-src-74f58faa151f357af634fba0dcfdee4ab2c2d72f.zip FreeBSD-src-74f58faa151f357af634fba0dcfdee4ab2c2d72f.tar.gz |
MFC
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/booke/pmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c index 0785e42..343b046 100644 --- a/sys/powerpc/booke/pmap.c +++ b/sys/powerpc/booke/pmap.c @@ -217,7 +217,6 @@ static struct rwlock_padalign pvh_global_lock; /* Data for the pv entry allocation mechanism */ static uma_zone_t pvzone; -static struct vm_object pvzone_obj; static int pv_entry_count = 0, pv_entry_max = 0, pv_entry_high_water = 0; #define PV_ENTRY_ZONE_MIN 2048 /* min pv entries in uma zone */ @@ -1343,7 +1342,7 @@ mmu_booke_init(mmu_t mmu) TUNABLE_INT_FETCH("vm.pmap.pv_entries", &pv_entry_max); pv_entry_high_water = 9 * (pv_entry_max / 10); - uma_zone_set_obj(pvzone, &pvzone_obj, pv_entry_max); + uma_zone_reserve_kva(pvzone, pv_entry_max); /* Pre-fill pvzone with initial number of pv entries. */ uma_prealloc(pvzone, PV_ENTRY_ZONE_MIN); |