Page MenuHomeFreeBSD

vm_page: drop page_iter_lookup
ClosedPublic

Authored by dougm on Mar 2 2025, 9:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 28, 9:02 PM
Unknown Object (File)
Tue, Nov 25, 2:14 PM
Unknown Object (File)
Nov 10 2025, 2:44 AM
Unknown Object (File)
Oct 24 2025, 3:27 AM
Unknown Object (File)
Oct 12 2025, 7:06 AM
Unknown Object (File)
Sep 29 2025, 2:07 PM
Unknown Object (File)
Sep 23 2025, 9:19 PM
Unknown Object (File)
Sep 22 2025, 6:21 AM
Subscribers

Details

Summary

The functions vm_page_iter_lookup and vm_page_iter_lookup_ge are just wrappers around vm_radix_iter_lookup and vm_radix_iter_lookup_ge, respectively. They server no real purpose, so drop them and use the vm_radix versions everywhere.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

dougm requested review of this revision.Mar 2 2025, 9:40 PM
dougm created this revision.

You can make the functions static inline in a header to preserve the think layer of abstraction there but avoid the minor runtime overhead, if you want.

This revision is now accepted and ready to land.Mar 2 2025, 11:20 PM
This revision was automatically updated to reflect the committed changes.