PERFORCE change 98420 for review

John Baldwin jhb at FreeBSD.org
Sat Jun 3 20:14:56 UTC 2006


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

Change 98420 by jhb at jhb_mutex on 2006/06/03 20:13:04

	Reduce diffs with CVS.

Affected files ...

.. //depot/projects/smpng/sys/kern/kern_mutex.c#126 edit

Differences ...

==== //depot/projects/smpng/sys/kern/kern_mutex.c#126 (text+ko) ====

@@ -549,8 +549,9 @@
 		if (m != &Giant && TD_IS_RUNNING(owner)) {
 #endif
 			turnstile_release(&m->mtx_object);
-			while (mtx_owner(m) == owner && TD_IS_RUNNING(owner))
+			while (mtx_owner(m) == owner && TD_IS_RUNNING(owner)) {
 				cpu_spinwait();
+			}
 			continue;
 		}
 #endif	/* SMP && !NO_ADAPTIVE_MUTEXES */


More information about the p4-projects mailing list