diff options
author | jake <jake@FreeBSD.org> | 2003-03-30 01:16:19 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-03-30 01:16:19 +0000 |
commit | b88859c2da2181939198145777bde05e1f583403 (patch) | |
tree | f5fa1fa09e8bf4752a0fa176c9ff2c1a664484b9 /sys/amd64/include/pmap.h | |
parent | 478d776b152499d1b9d8d51e64a83921460118f9 (diff) | |
download | FreeBSD-src-b88859c2da2181939198145777bde05e1f583403.zip FreeBSD-src-b88859c2da2181939198145777bde05e1f583403.tar.gz |
- 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
Diffstat (limited to 'sys/amd64/include/pmap.h')
-rw-r--r-- | sys/amd64/include/pmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index 8688b46..ad590ed 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); |