PERFORCE change 103911 for review

John Baldwin jhb at FreeBSD.org
Mon Aug 14 21:19:05 UTC 2006


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

Change 103911 by jhb at jhb_mutex on 2006/08/14 21:18:11

	Bah!

Affected files ...

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

Differences ...

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

@@ -111,13 +111,13 @@
 	static int barrier;
 
 	atomic_add_int(&barrier, 1);
-	while (barrier != NTHREADS)
+	while (barrier < NTHREADS)
 		cpu_spinwait();
 	mtx_lock(mtxen[thread % 4]);
 	DELAY(500);
 
 	atomic_add_int(&barrier, 1);
-	while (barrier != 2 * NTHREADS)
+	while (barrier < 2 * NTHREADS)
 		cpu_spinwait();
 	mtx_lock(mtxen[(thread + 1) % 4]);
 


More information about the p4-projects mailing list