diff options
| author | Ingo Molnar <[email protected]> | 2009-05-17 11:24:08 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-05-17 11:26:57 +0200 |
| commit | 0203026b58b4299ba7281c0b4b417207c1f05d0e (patch) | |
| tree | 02c9f3486544b0f7db1922f05cf12e6480eaf95f /include/linux/stackprotector.h | |
| parent | 856d56b9e5de650a64a6c41c17aaed702b55d578 (diff) | |
perf_counter: fix threaded task exit
Flushing counters in __exit_signal() with irqs disabled is not
a good idea as perf_counter_exit_task() acquires mutexes. So
flush it before acquiring the tasklist lock.
(Note, we still need a fix for when the PID has been unhashed.)
[ Impact: fix crash with inherited counters ]
Cc: Peter Zijlstra <[email protected]>
Cc: Srivatsa Vaddagiri <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions