]> git.baikalelectronics.ru Git - kernel.git/commit
ring-buffer: remove unnecessary cpu_relax
authorSteven Rostedt <srostedt@redhat.com>
Thu, 3 Sep 2009 14:12:13 +0000 (10:12 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 4 Sep 2009 15:25:27 +0000 (11:25 -0400)
commit83126f4d164b47cf371aed365f1792e8c479eaf0
tree3f7b9950cfe19742cfe04bc3feb11f7ad0a46e71
parentf38e6b31a6015ec5c0cafdc0dd0974aeefd570a4
ring-buffer: remove unnecessary cpu_relax

The loops in the ring buffer that use cpu_relax are not dependent on
other CPUs. They simply came across some padding in the ring buffer and
are skipping over them. It is a normal loop and does not require a
cpu_relax.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c