Re: [PATCH] Separate lock events with types

From: Peter Zijlstra
Date: Tue Apr 06 2010 - 05:00:52 EST


On Sat, 2010-03-27 at 00:33 +0100, Frederic Weisbecker wrote:
> So if we store the lock type in the lockdep_map, we can just dump
> the type on lock class initialization:
>
> - on register_lock_class
> - on event injection to catchup with lock that have already registered
>
> That's what does my tree perf/inject (minus the lock type), but this
> all require a redesign, in both ftrace and perf sides.
>

Right, and I don't like to bloat dep_map for no reason. I still think
all this lock type stuff is a waste of time.

--
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/