Date: Sat, 3 Jun 2006 20:13:19 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 98420 for review Message-ID: <200606032013.k53KDJSK081525@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=98420 Change 98420 by jhb@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606032013.k53KDJSK081525>