From: Steven Rostedt Date: Tue, 12 May 2009 02:11:05 +0000 (-0400) Subject: ring-buffer: move code around to remove some branches X-Git-Tag: v2.6.31-rc1~401^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=168b6b1d0594c7866caa73b12f3b8d91075695f2;p=pandora-kernel.git ring-buffer: move code around to remove some branches This is a bit of micro-optimizations. But since the ring buffer is used in tracing every function call, it is an extreme hot path. Every nanosecond counts. This change shows over 5% improvement in the ring-buffer-benchmark. [ Impact: more efficient code ] Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed