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)
Sun, Oct 12, 7:06 AM
Unknown Object (File)
Mon, Sep 29, 2:07 PM
Unknown Object (File)
Tue, Sep 23, 9:19 PM
Unknown Object (File)
Mon, Sep 22, 6:21 AM
Unknown Object (File)
Sat, Sep 20, 12:18 AM
Unknown Object (File)
Sep 15 2025, 7:39 PM
Unknown Object (File)
Sep 5 2025, 1:33 PM
Unknown Object (File)
Aug 5 2025, 6:49 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.