MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pmap_object_init_pt

Function pmap_object_init_pt

freebsd/mips/mips/pmap.c:2521–2528  ·  view source on GitHub ↗

* pmap_object_init_pt preloads the ptes for a given object * into the specified pmap. This eliminates the blast of soft * faults on process startup and immediately after an mmap. */

Source from the content-addressed store, hash-verified

2519 * faults on process startup and immediately after an mmap.
2520 */
2521void
2522pmap_object_init_pt(pmap_t pmap, vm_offset_t addr,
2523 vm_object_t object, vm_pindex_t pindex, vm_size_t size)
2524{
2525 VM_OBJECT_ASSERT_WLOCKED(object);
2526 KASSERT(object->type == OBJT_DEVICE || object->type == OBJT_SG,
2527 ("pmap_object_init_pt: non-device object"));
2528}
2529
2530/*
2531 * Clear the wired attribute from the mappings for the specified range of

Callers 1

vm_map_pmap_enterFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected