Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/pmap.h
| Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | |||||
| * First, it bounds the cost of reference bit maintenance on widely shared | * First, it bounds the cost of reference bit maintenance on widely shared | ||||
| * pages. Second, it prevents numeric overflow during maintenance of a | * pages. Second, it prevents numeric overflow during maintenance of a | ||||
| * widely shared page's "act_count" field. An overflow could result in the | * widely shared page's "act_count" field. An overflow could result in the | ||||
| * premature deactivation of the page. | * premature deactivation of the page. | ||||
| */ | */ | ||||
| #define PMAP_TS_REFERENCED_MAX 5 | #define PMAP_TS_REFERENCED_MAX 5 | ||||
| void pmap_activate(struct thread *td); | void pmap_activate(struct thread *td); | ||||
| void pmap_active_cpus(pmap_t pmap, cpuset_t *res); | |||||
| void pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, | void pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, | ||||
| int advice); | int advice); | ||||
| void pmap_align_superpage(vm_object_t, vm_ooffset_t, vm_offset_t *, | void pmap_align_superpage(vm_object_t, vm_ooffset_t, vm_offset_t *, | ||||
| vm_size_t); | vm_size_t); | ||||
| void pmap_clear_modify(vm_page_t m); | void pmap_clear_modify(vm_page_t m); | ||||
| void pmap_copy(pmap_t, pmap_t, vm_offset_t, vm_size_t, vm_offset_t); | void pmap_copy(pmap_t, pmap_t, vm_offset_t, vm_size_t, vm_offset_t); | ||||
| void pmap_copy_page(vm_page_t, vm_page_t); | void pmap_copy_page(vm_page_t, vm_page_t); | ||||
| void pmap_copy_pages(vm_page_t ma[], vm_offset_t a_offset, | void pmap_copy_pages(vm_page_t ma[], vm_offset_t a_offset, | ||||
| ▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines | |||||