From: Abhishek Sagar Date: Sat, 24 May 2008 18:15:02 +0000 (+0530) Subject: ftrace: safe traversal of ftrace_hash hlist X-Git-Tag: v2.6.27-rc1~1102^2^2~3^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffdaa3582b6b39d625d585d07e329ffdc925e971;p=pandora-kernel.git ftrace: safe traversal of ftrace_hash hlist Hi Steven, I noticed that concurrent instances of ftrace_record_ip() have a race between ftrace_hash list traversal during ftrace_ip_in_hash() (before acquiring ftrace_shutdown_lock) and ftrace_add_hash(). If it's so then this should fix it. Signed-off-by: Abhishek Sagar Cc: rostedt@goodmis.org Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed