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)
Thu, May 14, 5:01 PM
Unknown Object (File)
Thu, May 14, 5:01 PM
Unknown Object (File)
Thu, May 14, 6:26 AM
Unknown Object (File)
Wed, May 13, 5:09 PM
Unknown Object (File)
Thu, May 7, 1:07 PM
Unknown Object (File)
Wed, Apr 29, 9:29 PM
Unknown Object (File)
Wed, Apr 29, 1:20 AM
Unknown Object (File)
Wed, Apr 29, 1:12 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.