perf: Annotate inherited event ctx->mutex recursion
authorPeter Zijlstra <peterz@infradead.org>
Fri, 1 May 2015 14:08:46 +0000 (16:08 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 8 May 2015 09:59:40 +0000 (11:59 +0200)
commit8b10c5e2b59ef2a80a07ab594a3b4987a4676211
tree8d4f8d0b899761cc685c55ef722fb65368e8d044
parent3e0283a53f7d2f2dae7bc4aa7f3104cb5988018f
perf: Annotate inherited event ctx->mutex recursion

While fuzzing Sasha tripped over another ctx->mutex recursion lockdep
splat. Annotate this.

Reported-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c