]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vm_page_free_invalid(): Relax the xbusy assertion.
authorMark Johnston <markj@FreeBSD.org>
Mon, 27 Jul 2020 14:25:10 +0000 (14:25 +0000)
committerMark Johnston <markj@FreeBSD.org>
Mon, 27 Jul 2020 14:25:10 +0000 (14:25 +0000)
commit782ebde52ef5e51fe8fb5161e65c18c351537a20
treeb358659456c4136d4fe1a32c43ec8df73643f8ff
parent58f5de0d8afaf8423b87a613a4a0772e56f8f72a
vm_page_free_invalid(): Relax the xbusy assertion.

vm_page_assert_xbusied() asserts that the busying thread is the current
thread.  For some uses of vm_page_free_invalid() (e.g., error handling
in vnode_pager_generic_getpages_done()), this condition might not hold.

Reported by: Jenkins via trasz
Reviewed by: chs, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D25828
sys/vm/vm_page.c