Page MenuHomeFreeBSD

vm_page: drop find_least
ClosedPublic

Authored by dougm on Apr 26 2025, 2:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 7, 4:36 PM
Unknown Object (File)
Mon, Jul 7, 2:48 PM
Unknown Object (File)
Jun 27 2025, 4:13 PM
Unknown Object (File)
Jun 26 2025, 10:15 PM
Unknown Object (File)
Jun 26 2025, 6:31 PM
Unknown Object (File)
Jun 23 2025, 8:07 PM
Unknown Object (File)
Jun 22 2025, 3:22 PM
Unknown Object (File)
Jun 20 2025, 8:26 AM
Subscribers

Details

Summary

Remove the function vm_page_find_least and in the place it is used, replace it with vm_radix_lookup_ge().

Diff Detail

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

Event Timeline

dougm requested review of this revision.Apr 26 2025, 2:36 AM
dougm created this revision.
This revision is now accepted and ready to land.Apr 26 2025, 4:59 AM
This revision was automatically updated to reflect the committed changes.

Anyone calling vm_page_find_least(object, pindex) from ports code should now use
vm_radix_object_ge(&object->rtree, pindex);

You'll probably need to include <vm/vm_radix.h>.