Page MenuHomeFreeBSD

vm_page: drop page_iter_lookup
ClosedPublic

Authored by dougm on Sun, Mar 2, 9:40 PM.
Tags
None
Referenced Files
F111397765: D49203.id151761.diff
Mon, Mar 3, 6:50 AM
F111397533: D49203.id151755.diff
Mon, Mar 3, 6:45 AM
F111394456: D49203.id.diff
Mon, Mar 3, 5:53 AM
F111385539: D49203.diff
Mon, Mar 3, 3:15 AM
F111385267: D49203.diff
Mon, Mar 3, 3:09 AM
F111382673: D49203.diff
Mon, Mar 3, 2:25 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.Sun, Mar 2, 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.Sun, Mar 2, 11:20 PM
This revision was automatically updated to reflect the committed changes.