lockdep: fixup mutex annotations
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 11 Oct 2007 20:11:12 +0000 (22:11 +0200)
committerPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 11 Oct 2007 20:11:12 +0000 (22:11 +0200)
commite4564f79d4b6923da7360df4b24a48cc2d4160de
tree393a5fcc5efe94ae669b8ff21f36db2726f5f51d
parent3aa416b07f0adf01c090baab26fb70c35ec17623
lockdep: fixup mutex annotations

The fancy mutex_lock fastpath has too many indirections to track the caller
hence all contentions are perceived to come from mutex_lock().

Avoid this by explicitly not using the fastpath code (it was disabled already
anyway).

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/mutex.h
kernel/mutex.c