perf: Convert perf_event to local_t
Since now all modification to event->count (and ->prev_count and ->period_left) are local to a cpu, change then to local64_t so we avoid the LOCK'ed ops. Signed-off-by:Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/arm/kernel/perf_event.c 9 additions, 9 deletionsarch/arm/kernel/perf_event.c
- arch/powerpc/kernel/perf_event.c 17 additions, 17 deletionsarch/powerpc/kernel/perf_event.c
- arch/sh/kernel/perf_event.c 3 additions, 3 deletionsarch/sh/kernel/perf_event.c
- arch/sparc/kernel/perf_event.c 9 additions, 9 deletionsarch/sparc/kernel/perf_event.c
- arch/x86/kernel/cpu/perf_event.c 9 additions, 9 deletionsarch/x86/kernel/cpu/perf_event.c
- include/linux/perf_event.h 4 additions, 3 deletionsinclude/linux/perf_event.h
- kernel/perf_event.c 21 additions, 21 deletionskernel/perf_event.c
Loading
Please register or sign in to comment