Alan Cox 494c6e43d3 Optimize vm_page_try_to_free(). Specifically, the call to pmap_remove_all()
can be avoided when the page's containing object has a reference count of
zero.  (If the object has a reference count of zero, then none of its pages
can possibly be mapped.)

Address nearby style issues in vm_page_try_to_free(), and change its
return type to "bool".

Reviewed by:	kib, markj
MFC after:	1 week
2017-09-24 16:50:10 +00:00
..
2017-09-19 20:40:05 +00:00
2017-09-24 03:33:26 +00:00
2017-07-09 13:53:32 +00:00
2017-09-19 20:40:05 +00:00
2017-09-19 20:40:05 +00:00
2017-09-19 20:40:05 +00:00
2017-09-22 16:42:41 +00:00