PERFORCE change 134506 for review

John Birrell jb at FreeBSD.org
Wed Jan 30 15:53:29 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=134506

Change 134506 by jb at jb_freebsd1 on 2008/01/30 23:53:06

	Remove stack calls.

Affected files ...

.. //depot/projects/dtrace7/src/sys/compat/opensolaris/kern/opensolaris_kmem.c#3 edit

Differences ...

==== //depot/projects/dtrace7/src/sys/compat/opensolaris/kern/opensolaris_kmem.c#3 (text+ko) ====

@@ -82,7 +82,6 @@
 	if (p != NULL) {
 		i = p;
 		p = (u_char *)p + sizeof(struct kmem_item);
-		stack_save(&i->stack);
 		mtx_lock(&kmem_items_mtx);
 		LIST_INSERT_HEAD(&kmem_items, i, next);
 		mtx_unlock(&kmem_items_mtx);
@@ -255,12 +254,6 @@
 		printf("KMEM_DEBUG: Leaked elements:\n\n");
 		LIST_FOREACH(i, &kmem_items, next) {
 			printf("address=%p\n", i);
-			/*
-			 * Cheat and use the DDB routine
-			 * to avoid lock issues.
-			 */
-			stack_print_ddb(&i->stack);
-			printf("\n");
 		}
 	}
 	mtx_unlock(&kmem_items_mtx);


More information about the p4-projects mailing list