svn commit: r266299 - stable/10/sys/vm

Konstantin Belousov kib at FreeBSD.org
Sat May 17 11:24:30 UTC 2014


Author: kib
Date: Sat May 17 11:24:29 2014
New Revision: 266299
URL: http://svnweb.freebsd.org/changeset/base/266299

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

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

Modified: stable/10/sys/vm/vm_map.c
==============================================================================
--- stable/10/sys/vm/vm_map.c	Sat May 17 04:49:29 2014	(r266298)
+++ stable/10/sys/vm/vm_map.c	Sat May 17 11:24:29 2014	(r266299)
@@ -1949,7 +1949,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_WUNLOCK(obj);
 			vm_map_unlock(map);


More information about the svn-src-stable mailing list