lkml.org 
[lkml]   [2007]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/7] lockdep: lock contention tracking
From
Date
On Wed, 2007-05-23 at 10:40 -0400, Jason Baron wrote:
> On Wed, 23 May 2007, Peter Zijlstra wrote:
>
> > Count lock contention events per lock class. Additionally track the first four
> > callsites that resulted in the contention.
> >
>
> I think that we need the total number of locking calls, not just the total
> number of *contended* locking calls, in order to make the data
> significant. Same for waittime. Yes, this pollutes the fastpath. In the
> contention case, its one extra addition, and for the waittime, its a call
> the sched_clock(). I don't think that's too much to pay for much more
> meaningful data.

The holdtime statistics add these numbers.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-23 17:11    [W:0.056 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site