Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 11:30:01 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8906 for review
Message-ID:  <200204021930.g32JU1M94379@freefall.freebsd.org>

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

Change 8906 by jhb@jhb_laptop on 2002/04/02 11:29:42

	Remove extra debugging traces in witness for now.  I haven't
	been able to trigger the corrupt alllocks list bug with these
	in, so they haven't been useful yet, but they do slow things
	down and obfuscate diffs.

Affected files ...

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

Differences ...

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

@@ -348,7 +348,6 @@
 		    class->lc_name, lock->lo_name);
 
 	mtx_lock(&all_mtx);
-	TR3("INSERT: lock %p (%s) %s", lock, class->lc_name, lock->lo_name);
 	STAILQ_INSERT_TAIL(&all_locks, lock, lo_list);
 	lock->lo_flags |= LO_INITIALIZED;
 	lock_cur_cnt++;
@@ -390,8 +389,6 @@
 	}
 
 	mtx_lock(&all_mtx);
-	TR3("REMOVE: lock %p (%s) %s", lock, lock->lo_class->lc_name,
-	    lock->lo_name);
 	lock_cur_cnt--;
 	STAILQ_REMOVE(&all_locks, lock, lock_object, lo_list);
 	lock->lo_flags &= ~LO_INITIALIZED;

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?200204021930.g32JU1M94379>