Page MenuHomeFreeBSD

vm_fault: use iterator for allocation
ClosedPublic

Authored by dougm on Wed, Apr 9, 6:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 22, 8:01 AM
Unknown Object (File)
Mon, Apr 14, 7:49 PM
Unknown Object (File)
Sun, Apr 13, 9:22 PM
Unknown Object (File)
Sun, Apr 13, 6:21 PM
Unknown Object (File)
Sun, Apr 13, 12:49 PM
Unknown Object (File)
Fri, Apr 11, 5:17 AM
Unknown Object (File)
Fri, Apr 11, 4:32 AM
Unknown Object (File)
Fri, Apr 11, 4:26 AM
Subscribers

Details

Summary

Pass an iterator to vm_fault_allocate, so that it can invoke vm_page_alloc_after. In vm_fault_object, use an iterator for a page lookup so that the search can benefit the allocation in vm_fault_allocate. In vm_fault, define an iterator, initialize it only when it might be used, and pass it on to vm_fault_allocate.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable