aboutsummaryrefslogtreecommitdiff
path: root/lib/lzo/lzo1x_decompress.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-11 14:42:53 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-05-11 14:42:53 -0400
commitbe957c447f7233a67904a1b11eb3ab61e702bf4d (patch)
treefa92f4d46678c9a200ce9f92c1445da3bd71c74f /lib/lzo/lzo1x_decompress.c
parent1cd8d7358948909ab80b254eb14bcebc555ad417 (diff)
ring-buffer: move calculation of event length
The event length is calculated and passed in to rb_reserve_next_event in two different locations. Having rb_reserve_next_event do the calculations directly makes only one location to do the change and causes the calculation to be inlined by gcc. Before: text data bss dec hex filename 16538 24 12 16574 40be kernel/trace/ring_buffer.o After: text data bss dec hex filename 16490 24 12 16526 408e kernel/trace/ring_buffer.o [ Impact: smaller more efficient code ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'lib/lzo/lzo1x_decompress.c')
0 files changed, 0 insertions, 0 deletions