diff options
author | 2009-05-06 15:30:07 -0400 | |
---|---|---|
committer | 2009-05-06 15:30:07 -0400 | |
commit | 6634ff26cce2da04e5c2a5481bcb8888e7d01786 (patch) | |
tree | 64efca734e6cb10ff7cb19086e8f83b92eb40fd1 /kernel/trace/ring_buffer_benchmark.c | |
parent | ring-buffer: check for failed allocation in ring buffer benchmark (diff) | |
download | linux-6634ff26cce2da04e5c2a5481bcb8888e7d01786.tar.gz linux-6634ff26cce2da04e5c2a5481bcb8888e7d01786.tar.bz2 linux-6634ff26cce2da04e5c2a5481bcb8888e7d01786.zip |
ring-buffer: make moving the tail page a separate function
Ingo Molnar thought the code would be cleaner if we used a function call
instead of a goto for moving the tail page. After implementing this,
it seems that gcc still inlines the result and the output is pretty much
the same. Since this is considered a cleaner approach, might as well
implement it.
[ Impact: code clean up ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer_benchmark.c')
0 files changed, 0 insertions, 0 deletions