commit | 6d1acfd5c6bfd5231c13a8f2858d7f2afbaa1b62 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Tue May 18 11:12:48 2010 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Tue May 18 18:35:49 2010 +0200 |
tree | abcfa95947cafc94c978a255b814472fe67cad22 | |
parent | fa5881514ef9c9bcb29319aad85cf2d8889d91f1 [diff] |
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 <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>