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)
Sun, Feb 8, 2:22 PM
Unknown Object (File)
Sun, Feb 8, 8:32 AM
Unknown Object (File)
Sun, Feb 8, 6:37 AM
Unknown Object (File)
Sat, Jan 31, 11:44 AM
Unknown Object (File)
Dec 29 2025, 10:02 PM
Unknown Object (File)
Dec 20 2025, 9:13 AM
Unknown Object (File)
Dec 20 2025, 12:28 AM
Unknown Object (File)
Dec 3 2025, 8:54 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