summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2010-04-01 03:17:25 +0200
committerRobert Richter <robert.richter@amd.com>2010-04-23 15:30:38 +0200
commitcb6e943ccf19ab6d3189147e9d625a992e016084 (patch)
tree8ecbe4eae825ea4f7bbb685cab5a45206d437f05 /init
parenta36bf32e9e8a86f291f746b7f8292e042ee04a46 (diff)
downloadblackbird-op-linux-cb6e943ccf19ab6d3189147e9d625a992e016084.tar.gz
blackbird-op-linux-cb6e943ccf19ab6d3189147e9d625a992e016084.zip
oprofile: remove double ring buffering
oprofile used a double buffer scheme for its cpu event buffer to avoid races on reading with the old locked ring buffer. But that is obsolete now with the new ring buffer, so simply use a single buffer. This greatly simplifies the code and avoids a lot of sample drops on large runs, especially with call graph. Based on suggestions from Steven Rostedt For stable kernels from v2.6.32, but not earlier. Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: stable <stable@kernel.org> Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud