diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-05-06 18:27:17 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-05-07 13:17:28 +0200 |
commit | 524eff183f51d080a83b348d0ea97c08b3607b9a (patch) | |
tree | f82d50daa9e5cc77152f78c08d25ba92cc7b32de /Documentation/auxdisplay | |
parent | 534c97b0950b1967bca1c753aeaed32f5db40264 (diff) | |
download | kernel_goldelico_gta04-524eff183f51d080a83b348d0ea97c08b3607b9a.zip kernel_goldelico_gta04-524eff183f51d080a83b348d0ea97c08b3607b9a.tar.gz kernel_goldelico_gta04-524eff183f51d080a83b348d0ea97c08b3607b9a.tar.bz2 |
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 <jolsa@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/1367857638-27631-2-git-send-email-jolsa@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/auxdisplay')
0 files changed, 0 insertions, 0 deletions