jeff 272010ae27 Fix a long standing bug that was made worse in r355765. When we are cowing a
page that was previously mapped read-only it exists in pmap until pmap_enter()
returns.  However, we held no reference to the original page after the copy
was complete.  This allowed vm_object_scan_all_shadowed() to collapse an
object that still had pages mapped.  To resolve this, add another page pointer
to the faultstate so we can keep the page xbusy until we're done with
pmap_enter().  Handle busy pages in scan_all_shadowed.  This is already done
in vm_object_collapse_scan().

Reviewed by:	kib, markj
Differential Revision:	https://reviews.freebsd.org/D23155
2020-01-17 03:44:04 +00:00
..
2020-01-14 02:14:15 +00:00
2020-01-14 02:14:15 +00:00
2019-09-27 18:43:36 +00:00
2019-12-28 19:04:29 +00:00
2019-09-27 18:43:36 +00:00
2019-12-22 21:53:05 +00:00