If vm_fault_hold(9) finds that fs.m is wired, do not free it after a
authorkib <kib@FreeBSD.org>
Mon, 17 Oct 2016 08:17:06 +0000 (08:17 +0000)
committerkib <kib@FreeBSD.org>
Mon, 17 Oct 2016 08:17:06 +0000 (08:17 +0000)
commitd6fb5308f659752b0493e632ad75ce902eec65d8
treec33cb4b62ee262bfc7fe033a1c0ca089393bc464
parentaabeb3d14bc5393c84500754c21b2ba3aa2c21c6
If vm_fault_hold(9) finds that fs.m is wired, do not free it after a
pager error, leave the page to the wire owner.  E.g. the page might be
a part of the invalidated buffer.

Reported and tested by: pho
Reviewed by: alc, markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D8197
sys/vm/vm_fault.c