pmap_object_init_pt (9)
Leading comments
Copyright (c) 2003 Bruce M Simpson <bms@spc.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documenta...
NAME
pmap_object_init_pt - initialize page tables for a VM objectSYNOPSIS
In sys/param.h In vm/vm.h In vm/pmap.h Ft void Fo pmap_object_init_pt Fa pmap_t pmap vm_offset_t addr vm_object_t object Fa vm_pindex_t pindex vm_size_t size int limit FcDESCRIPTION
The Fn pmap_object_init_pt function preloads the page table entries into the specified physical map Fa pmap , for the given Fa object at the virtual address Fa addr , for Fa size bytes, beginning at the page index Fa pindex within the object. The map bits Fa 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).