Page MenuHomeFreeBSD

vm_map: replace list links with iterator
AcceptedPublic

Authored by dougm on Nov 23 2024, 10:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 9, 7:14 PM
Unknown Object (File)
Dec 5 2024, 9:49 PM
Unknown Object (File)
Nov 27 2024, 7:33 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.