On Tue, Apr 06, 2010 at 10:26:06AM +0200, Peter Zijlstra wrote:
Again, it makes no sense to mix up reports of spinlocks, rwlocks, mutexes
or whatever together in the same latency report.
I agree with you that such report makes no sense if you don't look at
the code and then find the nature of the locks on the deeper overview.
But the first overview is going to be unhelpful at best if you have
everything in the same linear report.
You'll naturally find the mutexes first reporting the worst latencies,
then rwsem, then the spinlocks, then the read rwlocks (read) at the end
of the list (depending on the cases).
And yet their latency intervals have utter different meanings. You can't
provide a taste report that mixes beers and wines qualities based on the
same magnitudes.
I really believe perf lock is going to suck at best without this.
--