lock_stat

LOCK STATISTICS

WHAT

As the name suggests, it provides statistics on locks.

WHY

Because things like lock contention can severely impact performance.

HOW

Lockdep already has hooks in the lock functions and maps lock instances to lock classes. We build on that (see Documentation/locking/lockdep-design.txt). The …

more ...