Page MenuHomeFreeBSD

vm_fault: use iterator in populate_cleanup
ClosedPublic

Authored by dougm on Apr 18 2025, 11:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 30, 5:42 PM
Unknown Object (File)
Wed, Mar 25, 4:50 AM
Unknown Object (File)
Sun, Mar 22, 2:50 AM
Unknown Object (File)
Sat, Mar 21, 3:44 PM
Unknown Object (File)
Sat, Mar 21, 9:05 AM
Unknown Object (File)
Thu, Mar 19, 8:29 AM
Unknown Object (File)
Tue, Mar 17, 6:34 AM
Unknown Object (File)
Feb 9 2026, 1:16 AM
Subscribers

Details

Summary

Change vm_fault_populate_cleanup() to use a page iterator, rather than tailq pointers.

Diff Detail

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

Event Timeline

dougm created this revision.
sys/vm/vm_fault.c
490

I think this assert can be restored by checking that the last processed page index is last.

This revision is now accepted and ready to land.Apr 19 2025, 10:31 AM
This revision was automatically updated to reflect the committed changes.