Page MenuHomeFreeBSD

vm_fault: use iterators in dontneed()
ClosedPublic

Authored by dougm on Apr 25 2025, 7:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 7, 9:48 AM
Unknown Object (File)
Tue, Apr 7, 3:29 AM
Unknown Object (File)
Mon, Apr 6, 4:19 AM
Unknown Object (File)
Sun, Apr 5, 6:48 AM
Unknown Object (File)
Wed, Apr 1, 7:32 AM
Unknown Object (File)
Tue, Mar 31, 10:40 PM
Unknown Object (File)
Wed, Mar 25, 4:38 AM
Unknown Object (File)
Tue, Mar 24, 12:05 PM
Subscribers

Details

Summary

Use iterators instead of tailq pointers in vm_fault_dontneed(). Reduce the scope of the read locks.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dougm requested review of this revision.Apr 25 2025, 7:46 AM
dougm created this revision.

Restore the wider scope of the first_object read lock.

Restore original indentation.

This revision is now accepted and ready to land.Apr 26 2025, 5:13 PM
This revision was automatically updated to reflect the committed changes.