locking/lockdep: Print chain_key collision information
authorAlfredo Alvarez Fernandez <alfredoalvarezfernandez@gmail.com>
Wed, 30 Mar 2016 17:03:36 +0000 (19:03 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 31 Mar 2016 13:03:58 +0000 (15:03 +0200)
commit39e2e173fb1f900959d3a25c21c65fa88b06c6ee
treec547073c9e190dc4618b9940ec3bb0aabd8c0f2a
parent283d757378371e8044d873e661b1dccee46c5887
locking/lockdep: Print chain_key collision information

A sequence of pairs [class_idx -> corresponding chain_key iteration]
is printed for both the current held_lock chain and the cached chain.

That exposes the two different class_idx sequences that led to that
particular hash value.

This helps with debugging hash chain collision reports.

Signed-off-by: Alfredo Alvarez Fernandez <alfredoalvarezfernandez@gmail.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-fsdevel@vger.kernel.org
Cc: sedat.dilek@gmail.com
Cc: tytso@mit.edu
Link: http://lkml.kernel.org/r/1459357416-19190-1-git-send-email-alfredoalvarezernandez@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/lockdep.c