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

Function vm_fault_populate_cleanup

freebsd/vm/vm_fault.c:399–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399static void
400vm_fault_populate_cleanup(vm_object_t object, vm_pindex_t first,
401 vm_pindex_t last)
402{
403 vm_page_t m;
404 vm_pindex_t pidx;
405
406 VM_OBJECT_ASSERT_WLOCKED(object);
407 MPASS(first <= last);
408 for (pidx = first, m = vm_page_lookup(object, pidx);
409 pidx <= last; pidx++, m = vm_page_next(m)) {
410 vm_fault_populate_check_page(m);
411 vm_page_deactivate(m);
412 vm_page_xunbusy(m);
413 }
414}
415
416static int
417vm_fault_populate(struct faultstate *fs)

Callers 1

vm_fault_populateFunction · 0.85

Calls 4

vm_page_lookupFunction · 0.85
vm_page_nextFunction · 0.85
vm_page_deactivateFunction · 0.85

Tested by

no test coverage detected