Page MenuHomeFreeBSD

vm_page_grab_pages: avoid doomed range lookups
ClosedPublic

Authored by dougm on May 17 2025, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 28 2026, 6:07 AM
Unknown Object (File)
Apr 27 2026, 1:50 PM
Unknown Object (File)
Apr 27 2026, 1:20 AM
Unknown Object (File)
Apr 25 2026, 4:43 PM
Unknown Object (File)
Apr 24 2026, 12:56 AM
Unknown Object (File)
Apr 23 2026, 4:20 AM
Unknown Object (File)
Apr 5 2026, 7:21 AM
Unknown Object (File)
Apr 3 2026, 1:23 AM
Subscribers

Details

Summary

In vm_page_grab_pages, if a range of grabbed pages has just been exhausted, then an immediate request for a new range is futile; we know there's no page there. So only try to lookup more ranges after allocating a page.

Diff Detail

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

Event Timeline

dougm requested review of this revision.May 17 2025, 5:58 PM
dougm created this revision.
This revision is now accepted and ready to land.May 17 2025, 6:07 PM
This revision was automatically updated to reflect the committed changes.