perf: Optimize the hotpath by converting the perf output buffer to local_t
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 18 May 2010 08:54:20 +0000 (10:54 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 May 2010 16:35:49 +0000 (18:35 +0200)
commitfa5881514ef9c9bcb29319aad85cf2d8889d91f1
tree4ca8bc35591b05adc8556358fb91498d2057c394
parentef60777c9abd999db5eb4e338aae3eb593ae8e10
perf: Optimize the hotpath by converting the perf output buffer to local_t

Since there is now only a single writer, we can use
local_t instead and avoid all these pesky LOCK insn.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_event.h
kernel/perf_event.c