diff options
author | Peter Zijlstra <[email protected]> | 2014-02-24 12:06:12 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-02-27 12:38:03 +0100 |
commit | e3703f8cdfcf39c25c4338c3ad8e68891cca3731 (patch) | |
tree | b4fc6439f43eca37c954ce4d5d2848279b115b99 /net/lapb/lapb_out.c | |
parent | 26e61e8939b1fe8729572dabe9a9e97d930dd4f6 (diff) |
perf: Fix hotplug splat
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions