diff options
author | alc <alc@FreeBSD.org> | 2004-06-19 20:31:49 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-06-19 20:31:49 +0000 |
commit | 4a80a06c522398bf1afe31c5363cad24083939c4 (patch) | |
tree | 10b1a524c621c5cda9ed80625f14392a648c0a58 /sys/ia64 | |
parent | 9a6c1ed4f4b95956393e6ef2ae6de8468dd0c183 (diff) | |
download | FreeBSD-src-4a80a06c522398bf1afe31c5363cad24083939c4.zip FreeBSD-src-4a80a06c522398bf1afe31c5363cad24083939c4.tar.gz |
Remove dead code related to pv entry allocation.
Reviewed by: marcel@
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/pmap.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index e89c984..741da94 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -221,8 +221,6 @@ struct mtx pmap_ridmutex; static uma_zone_t pvzone; static int pv_entry_count = 0, pv_entry_max = 0, pv_entry_high_water = 0; int pmap_pagedaemon_waken; -static struct pv_entry *pvbootentries; -static int pvbootnext, pvbootmax; /* * Data for allocating PTEs for user processes. @@ -469,18 +467,6 @@ pmap_bootstrap() ia64_set_rr(IA64_RR_BASE(7), (7 << 8) | (IA64_ID_PAGE_SHIFT << 2)); /* - * Reserve some memory for allocating pvs while bootstrapping - * the pv allocator. We need to have enough to cover mapping - * the kmem_alloc region used to allocate the initial_pvs in - * pmap_init. In general, the size of this region is - * approximately (# physical pages) * (size of pv entry). - */ - pvbootmax = ((physmem * sizeof(struct pv_entry)) >> PAGE_SHIFT) + 128; - pvbootentries = (struct pv_entry *) - pmap_steal_memory(pvbootmax * sizeof(struct pv_entry)); - pvbootnext = 0; - - /* * Clear out any random TLB entries left over from booting. */ pmap_invalidate_all(kernel_pmap); |