markj 91777b5ef2 Add vm_page_alloc_after().
This is a variant of vm_page_alloc() which accepts an additional parameter:
the page in the object with largest index that is smaller than the requested
index. vm_page_alloc() finds this page using a lookup in the object's radix
tree, but in some cases its identity is already known, allowing the lookup
to be elided.

Modify kmem_back() and vm_page_grab_pages() to use vm_page_alloc_after().
vm_page_alloc() is converted into a trivial wrapper of
vm_page_alloc_after().

Suggested by:	alc
Reviewed by:	alc, kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D11984
2017-08-15 16:39:49 +00:00
..
2017-05-23 09:29:05 +00:00
2017-08-09 09:13:15 +00:00
2017-08-15 15:20:04 +00:00
2017-08-15 08:44:36 +00:00
2017-07-09 13:53:32 +00:00
2017-08-15 02:21:02 +00:00
2017-08-15 06:01:36 +00:00
2017-08-09 10:46:34 +00:00
2017-05-23 09:29:05 +00:00
2017-06-08 21:30:34 +00:00
2017-05-09 05:08:47 +00:00
2017-08-15 16:39:49 +00:00
2017-08-13 14:50:38 +00:00