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, Oct 20, 8:47 PM
Unknown Object (File)
Sep 30 2025, 7:04 AM
Unknown Object (File)
Sep 27 2025, 1:31 AM
Unknown Object (File)
Sep 25 2025, 8:44 PM
Unknown Object (File)
Sep 22 2025, 11:22 PM
Unknown Object (File)
Aug 29 2025, 11:36 AM
Unknown Object (File)
Aug 29 2025, 11:20 AM
Unknown Object (File)
Aug 26 2025, 4:08 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>.