diff options
| author | Alan Cox <alc@FreeBSD.org> | 2004-06-19 20:31:49 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2004-06-19 20:31:49 +0000 |
| commit | ffcbbfc22062085595cb27cf332fb5d476d9febc (patch) | |
| tree | 10b1a524c621c5cda9ed80625f14392a648c0a58 | |
| parent | 5e5579e8c27d028925d30d8452789df9a9b1bd5c (diff) | |
Notes
| -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 e89c9846fea12..741da94dcf585 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); |
