perf: Optimize perf_output_*() by avoiding local_xchg()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 18 May 2010 09:12:48 +0000 (11:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 May 2010 16:35:49 +0000 (18:35 +0200)
Since the x86 XCHG ins implies LOCK, avoid the use by
using a sequence count instead.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found