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)
Fri, Oct 17, 2:44 AM
Unknown Object (File)
Wed, Oct 15, 10:17 PM
Unknown Object (File)
Mon, Oct 13, 3:34 PM
Unknown Object (File)
Sun, Oct 5, 12:24 AM
Unknown Object (File)
Wed, Sep 24, 2:05 AM
Unknown Object (File)
Tue, Sep 23, 4:21 AM
Unknown Object (File)
Mon, Sep 22, 10:37 PM
Unknown Object (File)
Sep 20 2025, 9:36 PM
Subscribers

Details

Summary

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

Diff Detail

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

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.