Page MenuHomeFreeBSD

vm_fault: use iterator for allocation
ClosedPublic

Authored by dougm on Apr 9 2025, 6:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 3, 8:54 PM
Unknown Object (File)
Tue, Nov 18, 10:14 AM
Unknown Object (File)
Sun, Nov 16, 5:00 AM
Unknown Object (File)
Nov 12 2025, 3:08 AM
Unknown Object (File)
Nov 11 2025, 11:48 AM
Unknown Object (File)
Nov 11 2025, 6:00 AM
Unknown Object (File)
Nov 5 2025, 6:31 PM
Unknown Object (File)
Oct 7 2025, 4:46 PM
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

Lint
Lint Skipped
Unit
Tests Skipped