Page MenuHomeFreeBSD

vm_map: replace list links with iterator
AbandonedPublic

Authored by dougm on Nov 23 2024, 10:37 PM.
Tags
None
Referenced Files
F137771983: D47718.id146871.diff
Tue, Nov 25, 4:47 PM
Unknown Object (File)
Fri, Nov 21, 8:33 AM
Unknown Object (File)
Thu, Nov 20, 4:26 PM
Unknown Object (File)
Thu, Nov 20, 3:36 PM
Unknown Object (File)
Thu, Nov 20, 3:34 PM
Unknown Object (File)
Thu, Nov 20, 3:25 PM
Unknown Object (File)
Sat, Nov 15, 11:51 PM
Unknown Object (File)
Fri, Oct 31, 2:01 AM
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.