]> git.karo-electronics.de Git - linux-beck.git/commit
ftrace: convert ftrace_lock from a spinlock to mutex
authorSteven Rostedt <srostedt@redhat.com>
Sat, 14 Feb 2009 06:15:39 +0000 (01:15 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Mon, 16 Feb 2009 22:33:14 +0000 (17:33 -0500)
commit52baf11922db7377b580dd5448a07f71c6a35611
tree8fe8a5346da71f63d627ff3824e065efff88889b
parentf6180773d90595650e11de0118bb112018290915
ftrace: convert ftrace_lock from a spinlock to mutex

Impact: clean up

The older versions of ftrace required doing the ftrace list
search under atomic context. Now all the calls are in non-atomic
context. There is no reason to keep the ftrace_lock as a spinlock.

This patch converts it to a mutex.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/ftrace.c