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, May 10, 1:04 PM
Unknown Object (File)
Sun, May 10, 1:00 PM
Unknown Object (File)
Wed, May 6, 10:10 AM
Unknown Object (File)
Wed, May 6, 8:48 AM
Unknown Object (File)
Mon, May 4, 12:31 PM
Unknown Object (File)
Tue, Apr 28, 7:27 PM
Unknown Object (File)
Tue, Apr 28, 7:21 PM
Unknown Object (File)
Mon, Apr 27, 3:29 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.