PERFORCE change 229500 for review

Robert Watson rwatson at FreeBSD.org
Sat Jun 8 14:23:12 UTC 2013


http://p4web.freebsd.org/@@229500?ac=10

Change 229500 by rwatson at rwatson_cinnamon on 2013/06/08 14:22:12

	tesla_store_free() now automatically calls tesla_free() on the store, so
	don't also do it in the calling context.  This fixes a panic when freed
	threads are destroyed under high process creation/destruction load when
	using TESLA in the FreeBSD kernel.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/libtesla/tesla_class_perthread.c#2 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/libtesla/tesla_class_perthread.c#2 (text+ko) ====

@@ -75,7 +75,6 @@
 	store = td->td_tesla;
 	td->td_tesla = NULL;
 	tesla_store_free(store);
-	tesla_free(store);
 }
 
 static void


More information about the p4-projects mailing list