Mark Johnston a2d704d19f Avoid unnecessary object locking in vm_page_grab_pages_unlocked().
We were needlessly acquiring the object lock to call
vm_page_grab_pages() even when all of the requested pages were looked up
locklessly.  Fix that, stop testing for count == 0 in
vm_page_grab_pages(), and add assertions to help catch this kind of
mistake.

Reported by:	cem
Reviewed by:	alc, cem, dougm, jeff
Differential Revision:	https://reviews.freebsd.org/D26304
2020-09-02 19:59:25 +00:00
..
2020-02-17 15:11:07 +00:00
2020-08-17 13:02:01 +00:00
2020-08-17 13:02:01 +00:00
2020-08-17 13:02:01 +00:00
2020-08-17 13:02:01 +00:00
2020-02-28 16:05:18 +00:00
2020-02-23 03:32:04 +00:00