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)
Fri, Jul 10, 11:03 PM
Unknown Object (File)
Fri, Jul 10, 3:18 PM
Unknown Object (File)
Fri, Jul 10, 2:36 PM
Unknown Object (File)
Wed, Jul 8, 11:25 PM
Unknown Object (File)
Wed, Jul 8, 1:12 PM
Unknown Object (File)
Jun 11 2026, 12:14 AM
Unknown Object (File)
Jun 10 2026, 6:41 PM
Unknown Object (File)
Jun 10 2026, 1:44 PM
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.