Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2006 01:48:16 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 99960 for review
Message-ID:  <200606250148.k5P1mG6J051854@repoman.freebsd.org>

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

Change 99960 by kmacy@kmacy_storage:sun4v_work_sleepq on 2006/06/25 01:48:12

	make sure that td_waittime always gets reset

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sys/lock_profile.h#5 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sys/lock_profile.h#5 (text+ko) ====

@@ -110,7 +110,8 @@
 				l->lpo_waittime = l->lpo_acqtime - td->td_waittime;
 			td->td_waittime = 0;
 		}
-	}
+	} else 
+		curthread->td_waittime = 0;
 }
 
 static inline void lock_profile_release_lock(struct lock_object *lo) 



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