perf: Convert perf_event to local_t
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 21 May 2010 12:43:08 +0000 (14:43 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jun 2010 09:12:37 +0000 (11:12 +0200)
commite78505958cf123048fb48cb56b79cebb8edd15fb
tree3688d124cdc906cbe9f6587c8671ba0a14c95262
parenta6e6dea68c18f705957573ee5596097c7e82d0e5
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>
arch/arm/kernel/perf_event.c
arch/powerpc/kernel/perf_event.c
arch/sh/kernel/perf_event.c
arch/sparc/kernel/perf_event.c
arch/x86/kernel/cpu/perf_event.c
include/linux/perf_event.h
kernel/perf_event.c