diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-09 10:11:36 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-09 10:11:36 +0100 |
commit | 7bffc23e56e92c14b787bf4d95249a32085bfed5 (patch) | |
tree | 9c1bbea2f258c82b5a9ff5e30db3a8f0c9cc3faa /arch/blackfin | |
parent | 8a20d84d09ab5d121f989cd99e4fc5f4b49f98ba (diff) |
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>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions