Page MenuHomeFreeBSD

vm_page_grab_pages: avoid doomed range lookups
ClosedPublic

Authored by dougm on Sat, May 17, 5:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 28, 7:16 PM
Unknown Object (File)
Mon, May 19, 3:59 AM
Unknown Object (File)
Mon, May 19, 3:48 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.Sat, May 17, 5:58 PM
dougm created this revision.
This revision is now accepted and ready to land.Sat, May 17, 6:07 PM
This revision was automatically updated to reflect the committed changes.