Date: Wed, 30 Jan 2008 23:53:27 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 134506 for review Message-ID: <200801302353.m0UNrRlD022739@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134506 Change 134506 by jb@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801302353.m0UNrRlD022739>