Re: [PATCH] lockdep: lock contention tracking

From: Ingo Molnar
Date: Mon May 21 2007 - 02:08:43 EST



* Bill Huey <billh@xxxxxxxxxxxxxxxxx> wrote:

> On Sun, May 20, 2007 at 12:30:26PM +0200, Peter Zijlstra wrote:
> > The 4 points are the first 4 unique callsites that cause lock contention
> > for the specified lock class.
> >
> > writing a 0 to /proc/lockdep_contentions clears the stats
>
> We should talk about unifying it with my lockstat work for -rt so that
> we have a comprehensive solution for the "world". But you know that
> already :)

To me it appears Peter's stuff is already a pretty complete solution on
its own, and it's a whole lot simpler (and less duplicative) than your
lockstat patch. Could you list the specific items/features that you
think Peter's stuff doesnt have?

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