Page MenuHomeFreeBSD

vm_map: replace list links with iterator
AbandonedPublic

Authored by dougm on Nov 23 2024, 10:37 PM.
Tags
None
Referenced Files
F153498123: D47718.id146871.diff
Tue, Apr 21, 11:42 AM
F153386259: D47718.id.diff
Mon, Apr 20, 8:52 PM
Unknown Object (File)
Thu, Apr 2, 6:52 AM
Unknown Object (File)
Wed, Apr 1, 11:41 AM
Unknown Object (File)
Mar 20 2026, 5:55 AM
Unknown Object (File)
Mar 7 2026, 9:54 AM
Unknown Object (File)
Mar 4 2026, 7:05 PM
Unknown Object (File)
Mar 4 2026, 7:05 PM
Subscribers
None

Details

Reviewers
kib
alc
Summary

Use an iterator to walk the pages in vm_map_pmap_enter, in place of the linked list.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dougm created this revision.
This revision is now accepted and ready to land.Nov 24 2024, 8:02 AM

By itself, this is going to be slower. This should be a part of a larger patch that removes the memq, so that we can evaluate whether the elimination of the memq makes up for the higher cost of the iterators.