original_kernel/include
Ingo Molnar 7bffc23e56 tracing: optimize trace_printk()
Impact: micro-optimization

trace_printk() does this unconditionally:

	trace_printk_fmt = fmt;

Where trace_printk_fmt is an entry into a global array. This is
very SMP-unfriendly.

So only write it once per bootup.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1236356510-8381-5-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-03-09 10:11:36 +01:00
..
acpi
asm-arm
asm-frv tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
asm-generic tracing: trace_printk() fix, move format array to data section 2009-03-09 10:11:08 +01:00
asm-h8300
asm-m32r tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
asm-mn10300 tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
crypto
drm drm: disable encoders before re-routing them 2009-02-25 14:42:23 +10:00
keys
linux tracing: optimize trace_printk() 2009-03-09 10:11:36 +01:00
math-emu
media
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
trace tracing, power-trace: make it build even if the power-tracer is turned off 2009-03-06 12:47:08 +01:00
video
xen
Kbuild