diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-05-17 11:08:41 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-20 00:22:24 +0200 |
commit | 33b2fb303fe7f6b08bbb32f708e67b96eaa94a7a (patch) | |
tree | 32ab4cb3cca6c61a2d6cf351bb8f732045464e28 /mm | |
parent | b68f1d2e7aa21029d73c7d453a8046e95d351740 (diff) |
perf_counter: fix counter freeing logic
Fix counter lifetime bugs which explain the crashes reported by
Marcelo Tosatti and Arnaldo Carvalho de Melo.
The new rule is: flushing + freeing is only done for a task's
own counters, never for other tasks.
[ Impact: fix crashes/lockups with inherited counters ]
Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Reported-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions