diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-02-24 11:06:12 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-05 16:13:51 (GMT) |
commit | 290de678159b95d6f45f40214938c5a444eacad2 (patch) | |
tree | abd02430e1c4a0895c8d96f5c1dc7de99ec3053f /sound/pci/hda | |
parent | 01ffe6154b9939874fb5d7d4cc59d66bec9ebb68 (diff) | |
download | linux-fsl-qoriq-290de678159b95d6f45f40214938c5a444eacad2.tar.xz |
perf: Fix hotplug splat
commit e3703f8cdfcf39c25c4338c3ad8e68891cca3731 upstream.
Drew Richardson reported that he could make the kernel go *boom* when hotplugging
while having perf events active.
It turned out that when you have a group event, the code in
__perf_event_exit_context() fails to remove the group siblings from
the context.
We then proceed with destroying and freeing the event, and when you
re-plug the CPU and try and add another event to that CPU, things go
*boom* because you've still got dead entries there.
Reported-by: Drew Richardson <drew.richardson@arm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/n/tip-k6v5wundvusvcseqj1si0oz0@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'sound/pci/hda')
0 files changed, 0 insertions, 0 deletions