1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-07 13:14:51 +00:00

Make vm_page_sunbusy() assert that the page is unlocked.

Reviewed by:	kib
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D11946
This commit is contained in:
Mark Johnston 2017-08-10 22:43:38 +00:00
parent 081baee06a
commit 2c642ec1e7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322383

View File

@ -757,6 +757,7 @@ vm_page_sunbusy(vm_page_t m)
{
u_int x;
vm_page_lock_assert(m, MA_NOTOWNED);
vm_page_assert_sbusied(m);
for (;;) {