From: Peter Zijlstra Date: Tue, 18 May 2010 09:12:48 +0000 (+0200) Subject: perf: Optimize perf_output_*() by avoiding local_xchg() X-Git-Tag: v2.6.35-rc1~30^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d1acfd5c6bfd5231c13a8f2858d7f2afbaa1b62;p=pandora-kernel.git perf: Optimize perf_output_*() by avoiding local_xchg() Since the x86 XCHG ins implies LOCK, avoid the use by using a sequence count instead. Signed-off-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed