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)
Apr 9 2025, 1:17 AM
Unknown Object (File)
Apr 8 2025, 11:44 AM
Unknown Object (File)
Mar 27 2025, 4:18 PM
Unknown Object (File)
Mar 19 2025, 12:31 AM
Unknown Object (File)
Mar 16 2025, 1:25 PM
Unknown Object (File)
Mar 7 2025, 11:32 AM
Unknown Object (File)
Mar 6 2025, 11:53 AM
Unknown Object (File)
Mar 5 2025, 5:01 PM
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.