Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 16:17:46 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256847 - head/sys/kern
Message-ID:  <201310211617.r9LGHkPw097376@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310211617.r9LGHkPw097376>