tracing: optimize global_trace_clock cachelines
authorSteven Rostedt <srostedt@redhat.com>
Tue, 15 Sep 2009 16:24:22 +0000 (12:24 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 15 Sep 2009 16:24:22 +0000 (12:24 -0400)
commit6ca6cca31ddc7cc8b1dc38b12d7593d2667defe8
treeca29469e6f270d9c9a85ac77c41658ebbfd8f99f
parent555f386c98cc93890f48fdea098936755270304b
tracing: optimize global_trace_clock cachelines

The prev_trace_clock_time is only read or written to when the
trace_clock_lock is taken. For better perfomance, they
should share the same cache line.

Reported-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_clock.c