Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 11:26:54 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r266300 - stable/9/sys/vm
Message-ID:  <201405171126.s4HBQseH035100@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat May 17 11:26:54 2014
New Revision: 266300
URL: http://svnweb.freebsd.org/changeset/base/266300

Log:
  MFC r265824:
  Print the entry address in addition to the object.

Modified:
  stable/9/sys/vm/vm_map.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/vm/vm_map.c
==============================================================================
--- stable/9/sys/vm/vm_map.c	Sat May 17 11:24:29 2014	(r266299)
+++ stable/9/sys/vm/vm_map.c	Sat May 17 11:26:54 2014	(r266300)
@@ -1967,7 +1967,8 @@ vm_map_protect(vm_map_t map, vm_offset_t
 		 * charged clipped mapping of the same object later.
 		 */
 		KASSERT(obj->charge == 0,
-		    ("vm_map_protect: object %p overcharged\n", obj));
+		    ("vm_map_protect: object %p overcharged (entry %p)",
+		    obj, current));
 		if (!swap_reserve(ptoa(obj->size))) {
 			VM_OBJECT_UNLOCK(obj);
 			vm_map_unlock(map);



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