Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2007 08:37:15 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 126303 for review
Message-ID:  <200709110837.l8B8bFZF064401@repoman.freebsd.org>

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

Change 126303 by zec@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()						\



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