PERFORCE change 103907 for review

John Baldwin jhb at FreeBSD.org
Mon Aug 14 20:44:11 UTC 2006


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

Change 103907 by jhb at jhb_mutex on 2006/08/14 20:43:31

	Sleep bad.

Affected files ...

.. //depot/projects/smpng/sys/modules/crash2/crash2.c#13 edit

Differences ...

==== //depot/projects/smpng/sys/modules/crash2/crash2.c#13 (text+ko) ====

@@ -107,7 +107,7 @@
 {
 
 	mtx_lock(mtxen[thread % 4]);
-	tsleep(mtxen, 0, "mtx_dead", hz/10);
+	DELAY(500);
 	mtx_lock(mtxen[(thread + 1) % 4]);
 }
 CRASH2_EVENT("mutex cycle", mtx_deadlock, mtx_deadlock, mtx_deadlock,


More information about the p4-projects mailing list