Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 18:17:08 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 104083 for review
Message-ID:  <200608151817.k7FIH8Ca040086@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104083

Change 104083 by jhb@jhb_mutex on 2006/08/15 18:16:58

	We know td != NULL.

Affected files ...

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

Differences ...

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

@@ -642,8 +642,7 @@
 					continue;
 				printf(
 			"spin lock %p (%s) held by %p (tid %d) too long\n",
-				    m, m->mtx_object.lo_name, td,
-				    td ? td->td_tid : -1);
+				    m, m->mtx_object.lo_name, td, td->td_tid);
 #ifdef WITNESS
 				witness_display_spinlock(&m->mtx_object, td);
 #endif



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