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, Apr 1, 11:23 AM
Unknown Object (File)
Thu, Mar 26, 8:14 PM
Unknown Object (File)
Sat, Mar 14, 6:04 PM
Unknown Object (File)
Feb 22 2026, 6:30 PM
Unknown Object (File)
Feb 20 2026, 7:37 PM
Unknown Object (File)
Feb 16 2026, 11:59 PM
Unknown Object (File)
Feb 8 2026, 2:22 PM
Unknown Object (File)
Feb 8 2026, 8:32 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