Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2013 14:23:10 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 229500 for review
Message-ID:  <201306081423.r58ENAw5031346@skunkworks.freebsd.org>

index | next in thread | raw e-mail

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

Change 229500 by rwatson@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


help

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