aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/pmap.h
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2003-03-30 01:16:19 +0000
committerJake Burkholder <jake@FreeBSD.org>2003-03-30 01:16:19 +0000
commitaea57872f0c13d536ac29d42d3b84490faceb30e (patch)
treef5fa1fa09e8bf4752a0fa176c9ff2c1a664484b9 /sys/amd64/include/pmap.h
parent6900a17c75ebe154aa8674701a0fa32121fa357d (diff)
downloadsrc-aea57872f0c13d536ac29d42d3b84490faceb30e.tar.gz
src-aea57872f0c13d536ac29d42d3b84490faceb30e.zip
- Convert all uses of pmap_pte and get_ptbase to pmap_pte_quick. When
accessing an alternate address space this causes 1 page table page at a time to be mapped in, rather than using the recursive mapping technique to map in an entire alternate address space. The recursive mapping technique changes large portions of the address space and requires global tlb flushes, which seem to cause problems when PAE is enabled. This will also allow IPIs to be avoided when mapping in new page table pages using the same technique as is used for pmap_copy_page and pmap_zero_page. Sponsored by: DARPA, Network Associates Laboratories
Notes
Notes: svn path=/head/; revision=112836
Diffstat (limited to 'sys/amd64/include/pmap.h')
-rw-r--r--sys/amd64/include/pmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index 8688b4627131..ad590ed879b0 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -252,7 +252,7 @@ void pmap_kenter(vm_offset_t va, vm_paddr_t pa);
void pmap_kremove(vm_offset_t);
void *pmap_mapdev(vm_paddr_t, vm_size_t);
void pmap_unmapdev(vm_offset_t, vm_size_t);
-pt_entry_t *pmap_pte(pmap_t, vm_offset_t) __pure2;
+pt_entry_t *pmap_pte_quick(pmap_t, vm_offset_t) __pure2;
void pmap_set_opt(void);
void pmap_invalidate_page(pmap_t, vm_offset_t);
void pmap_invalidate_range(pmap_t, vm_offset_t, vm_offset_t);