]> err.no Git - linux-2.6/commit
ftrace: user raw_spin_lock in tracing
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 12 May 2008 19:20:55 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:14:11 +0000 (21:14 +0200)
commit92205c2343527a863d660360599a4bf8cede77b0
treec85cf8495cd2eb52a99062e3505cd81851cd3444
parentc5f888cae49dfe3e86d9d1e0dab2b63ceb057be3
ftrace: user raw_spin_lock in tracing

Lock debugging enabled cause huge performance problems for tracing. Having
the lock verification happening for every function that is called
because mcount calls spin_lock can cripple the system.

This patch converts the spin_locks used by ftrace into raw_spin_locks.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace.c
kernel/trace/trace.h