summaryrefslogtreecommitdiff
path: root/include/linux/mutex.h
diff options
context:
space:
mode:
authorGregory Haskins <ghaskins@novell.com>2007-10-12 00:11:11 +0400
committerPeter Zijlstra <a.p.zijlstra@chello.nl>2007-10-12 00:11:11 +0400
commit3aa416b07f0adf01c090baab26fb70c35ec17623 (patch)
treea2c2c2f7bd8445b138b293ba6661833f970954ee /include/linux/mutex.h
parent94c61c0aeffe64452e742087cf803d0347ef8418 (diff)
downloadlinux-3aa416b07f0adf01c090baab26fb70c35ec17623.tar.xz
lockdep: fix mismatched lockdep_depth/curr_chain_hash
It is possible for the current->curr_chain_key to become inconsistent with the current index if the chain fails to validate. The end result is that future lock_acquire() operations may inadvertently fail to find a hit in the cache resulting in a new node being added to the graph for every acquire. Signed-off-by: Gregory Haskins <ghaskins@novell.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/mutex.h')
0 files changed, 0 insertions, 0 deletions