Mark Johnston a9ea09e548 Re-check for wirings after busying the page in vm_page_release_locked().
A concurrent unlocked lookup can wire the page after
vm_page_release_locked() releases the last wiring, in which case
vm_page_release_locked() must not free the page.  Once the xbusy lock is
acquired, that, the object lock and the fact that the page is unmapped
ensure that the wire count cannot increase, so re-check for new wirings
after the page is xbusied.

Update the comment above vm_page_wired() to reflect the new
synchronization rules.

Reported by:	glebius
Reviewed by:	alc, jeff, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D24592
2020-04-28 13:51:41 +00:00
..
2020-02-17 15:11:07 +00:00
2020-03-07 15:37:23 +00:00
2020-03-07 15:37:23 +00:00
2020-02-28 16:05:18 +00:00
2020-02-23 03:32:04 +00:00
2020-03-04 21:27:12 +00:00
2020-02-28 16:05:18 +00:00
2020-02-23 03:32:04 +00:00
2020-02-28 16:05:18 +00:00