Page MenuHomeFreeBSD

vm_map: replace list links with iterator
AbandonedPublic

Authored by dougm on Nov 23 2024, 10:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 28, 2:02 AM
Unknown Object (File)
Thu, Sep 25, 1:12 PM
Unknown Object (File)
Sep 11 2025, 1:23 PM
Unknown Object (File)
Sep 11 2025, 11:26 AM
Unknown Object (File)
Sep 9 2025, 3:23 PM
Unknown Object (File)
Sep 4 2025, 2:52 PM
Unknown Object (File)
Sep 1 2025, 4:43 PM
Unknown Object (File)
Aug 13 2025, 12:47 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.