]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea391045ea31f940c5ebf4831d593494e0ef7f58
tree4ca8bc35591b05adc8556358fb91498d2057c394
parentb0de0a748a05d2c0f97560f67f5e8f66e6615661
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