diff options
author | marcel <marcel@FreeBSD.org> | 2005-09-03 23:53:50 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-09-03 23:53:50 +0000 |
commit | 1a76dde0ef749af4157eecf336ef63597939d32d (patch) | |
tree | 9287c30f8db2ee0e4a7a9dc775788cda8ed610ef /sys/ia64/include/pmap.h | |
parent | 18134b1f30cdff0d3425b3325da44c0f7580ccbb (diff) | |
download | FreeBSD-src-1a76dde0ef749af4157eecf336ef63597939d32d.zip FreeBSD-src-1a76dde0ef749af4157eecf336ef63597939d32d.tar.gz |
o s/vhpt_size/pmap_vhpt_log2size/g
o s/vhpt_base/pmap_vhpt_base/g
o s/vhpt_bucket/pmap_vhpt_bucket/g
o Declare the above in <machine/pmap.h>
o Move the vm.stats.vhpt.* sysctls to machdep.vhpt.*
o Create a tunable machdep.vhpt.log2size, with corresponding sysctl.
The tunable allows the user to specify the VHPT size from the loader.
o Don't keep track of the number of PTEs in the VHPT. Calculate the
population when necessary by iterating the buckets and summing up
the length of the buckets.
o Don't perform the tpa instruction with a bucket lock held. The
instruction can (theoretically) fault and locking is not needed.
Diffstat (limited to 'sys/ia64/include/pmap.h')
-rw-r--r-- | sys/ia64/include/pmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/ia64/include/pmap.h b/sys/ia64/include/pmap.h index b1f45e8..173d714 100644 --- a/sys/ia64/include/pmap.h +++ b/sys/ia64/include/pmap.h @@ -115,6 +115,9 @@ extern vm_offset_t phys_avail[]; extern vm_offset_t virtual_avail; extern vm_offset_t virtual_end; +extern uint64_t pmap_vhpt_base[]; +extern int pmap_vhpt_log2size; + #define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.pv_list)) vm_offset_t pmap_steal_memory(vm_size_t); |