diff options
author | Jiri Olsa <[email protected]> | 2013-05-06 18:27:17 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-05-07 13:17:28 +0200 |
commit | 524eff183f51d080a83b348d0ea97c08b3607b9a (patch) | |
tree | f82d50daa9e5cc77152f78c08d25ba92cc7b32de /fs/jbd2/commit.c | |
parent | 534c97b0950b1967bca1c753aeaed32f5db40264 (diff) |
perf: Fix EXIT event notification
The perf_event_task_ctx() function needs to be called with
preemption disabled, since it's checking for currently
scheduled cpu against event cpu.
We disable preemption for task related perf event context
if there's one defined, leaving up to the chance which cpu
it gets scheduled in.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions