MFC r256847:

Print more useful information about the transfer that trigger the assertion.

Approved by:	re (glebius)
This commit is contained in:
kib 2013-10-29 07:33:55 +00:00
parent 22acce6ad4
commit aaa21934ba

View File

@ -2070,7 +2070,8 @@ free_page:
}
KASSERT(error != 0 || (m->wire_count > 0 &&
vm_page_is_valid(m, off & PAGE_MASK, xfsize)),
("wrong page state m %p", m));
("wrong page state m %p off %#jx xfsize %d", m, (uintmax_t)off,
xfsize));
VM_OBJECT_WUNLOCK(obj);
return (error);
}