PERFORCE change 126303 for review

Marko Zec zec at FreeBSD.org
Tue Sep 11 01:37:16 PDT 2007


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

Change 126303 by zec at zec_tpx32 on 2007/09/11 08:37:03

	Remove a debugging printf() which was firing when more
	than one reader would be acquiring a lock ovet global
	vnet list.  Given that so far no problems with the vnet
	list locking scheme were encountered on neither UP nor SMP
	machines, this printf() goes away to reduce occasional
	noise...

Affected files ...

.. //depot/projects/vimage/src/sys/sys/vimage.h#36 edit

Differences ...

==== //depot/projects/vimage/src/sys/sys/vimage.h#36 (text+ko) ====

@@ -329,9 +329,6 @@
 #define VNET_LIST_REF()							\
 	mtx_lock(&vnet_list_refc_mtx);					\
 	vnet_list_refc++;						\
-	if (vnet_list_refc > 1)						\
-		printf ("XXX vnet_list_refc = %d in %s\n",		\
-		    vnet_list_refc, __FUNCTION__);			\
 	mtx_unlock(&vnet_list_refc_mtx);
 
 #define VNET_LIST_UNREF()						\


More information about the p4-projects mailing list