Page MenuHomeFreeBSD

vm_fault: use iterator in populate_cleanup
ClosedPublic

Authored by dougm on Apr 18 2025, 11:53 PM.
Tags
None
Referenced Files
F167703340: D49900.id153929.diff
Sun, Aug 23, 9:12 PM
F167648452: D49900.id153896.diff
Sun, Aug 23, 12:21 PM
F167647325: D49900.id.diff
Sun, Aug 23, 12:05 PM
Unknown Object (File)
Sun, Aug 23, 5:00 AM
Unknown Object (File)
Wed, Aug 19, 9:24 PM
Unknown Object (File)
Mon, Aug 17, 12:46 AM
Unknown Object (File)
Tue, Aug 11, 11:32 PM
Unknown Object (File)
Tue, Aug 11, 11:25 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.