svn commit: r256847 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Mon Oct 21 16:17:46 UTC 2013
Author: kib
Date: Mon Oct 21 16:17:46 2013
New Revision: 256847
URL: http://svnweb.freebsd.org/changeset/base/256847
Log:
Print more useful information about the transfer that trigger the assertion.
Other data is available with ddb command 'show pginfo'.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/kern/uipc_syscalls.c
Modified: head/sys/kern/uipc_syscalls.c
==============================================================================
--- head/sys/kern/uipc_syscalls.c Mon Oct 21 13:57:34 2013 (r256846)
+++ head/sys/kern/uipc_syscalls.c Mon Oct 21 16:17:46 2013 (r256847)
@@ -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);
}
More information about the svn-src-all
mailing list