pmap_object_init_pt — initialize page tables for a VM object
Contents
Description
The pmap_object_init_pt() function preloads the page table entries into the specified physical map pmap,
for the given object at the virtual address addr, for size bytes, beginning at the page index pindex
within the object. The map bits limit are heeded when creating the mapping.
Implementation Notes
This function is not strictly required by an architecture's pmap(9) implementation, but it does provide
performance benefits if implemented.
It is intended to eliminate the blast of soft faults on process startup, and immediately following a call
to mmap(2).
Name
pmap_object_init_pt — initialize page tables for a VM object
See Also
pmap(9), vm_map(9)
Synopsis
#include<sys/param.h>#include<vm/vm.h>#include<vm/pmap.h>voidpmap_object_init_pt(pmap_tpmap, vm_offset_taddr, vm_object_tobject, vm_pindex_tpindex,
vm_size_tsize, intlimit);
