Conrad pointed out that we are needlessly acquiring the object lock to
call vm_page_grab_pages() even when all of the requested pages were
looked up locklessly. Fix that, and add assertions to help catch this
kind of mistake.
Reported by: cem
Differential D26304
Avoid unnecessary object locking in vm_page_grab_pages_unlocked(). markj on Sep 2 2020, 7:35 PM. Authored by Tags None Referenced Files
Subscribers
Details Conrad pointed out that we are needlessly acquiring the object lock to Reported by: cem
Diff Detail
Event Timeline
|