Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 08:07:53 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10955 for review
Message-ID:  <200205071507.g47F7rh95483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10955

Change 10955 by jhb@jhb_laptop on 2002/05/07 08:07:02

	Add a debugging printf for the time being to see if I can figure
	out why we are getting so many dead witnesses.

Affected files ...

... //depot/projects/smpng/sys/kern/subr_witness.c#48 edit

Differences ...

==== //depot/projects/smpng/sys/kern/subr_witness.c#48 (text+ko) ====

@@ -382,6 +382,8 @@
 		mtx_lock_spin(&w_mtx);
 		MPASS(w->w_refcount > 0);
 		w->w_refcount--;
+		if (w->w_refcount == 0)
+			printf("dead witness: %s\n", w->w_name);
 		mtx_unlock_spin(&w_mtx);
 	}
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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