diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-11-23 13:37:27 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-23 13:49:57 +0300 |
commit | f67218c3e93abaf0f480bb94b53d234853ffe4de (patch) | |
tree | 8b82587c79c53376b9295e543932d746fd725260 /include/trace | |
parent | 5e942bb33371254a474653123cd9e13a4c89ee44 (diff) | |
download | linux-f67218c3e93abaf0f480bb94b53d234853ffe4de.tar.xz |
perf_events: Fix __perf_event_exit_task() vs. update_event_times() locking
Move the update_event_times() call in __perf_event_exit_task()
into list_del_event() because that holds the proper lock
(ctx->lock) and seems a more natural place to do the last time
update.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091123103819.842455480@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions