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)
Fri, Jul 10, 4:58 PM
Unknown Object (File)
Thu, Jul 9, 2:44 AM
Unknown Object (File)
Wed, Jul 8, 4:59 AM
Unknown Object (File)
Jun 7 2026, 7:15 PM
Unknown Object (File)
Jun 6 2026, 7:43 PM
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
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.