svn commit: r257310 - stable/10/sys/kern

Konstantin Belousov kib at FreeBSD.org
Tue Oct 29 07:33:56 UTC 2013


Author: kib
Date: Tue Oct 29 07:33:55 2013
New Revision: 257310
URL: http://svnweb.freebsd.org/changeset/base/257310

Log:
  MFC r256847:
  Print more useful information about the transfer that trigger the assertion.
  
  Approved by:	re (glebius)

Modified:
  stable/10/sys/kern/uipc_syscalls.c
Directory Properties:
  stable/10/sys/   (props changed)

Modified: stable/10/sys/kern/uipc_syscalls.c
==============================================================================
--- stable/10/sys/kern/uipc_syscalls.c	Tue Oct 29 07:33:53 2013	(r257309)
+++ stable/10/sys/kern/uipc_syscalls.c	Tue Oct 29 07:33:55 2013	(r257310)
@@ -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