commit | ffdaa3582b6b39d625d585d07e329ffdc925e971 | [log] [tgz] |
---|---|---|
author | Abhishek Sagar <sagar.abhishek@gmail.com> | Sat May 24 23:45:02 2008 +0530 |
committer | Thomas Gleixner <tglx@linutronix.de> | Mon May 26 22:52:04 2008 +0200 |
tree | 2e75b26ea065d6e11eeb17b8ea77bcd2f16853c6 | |
parent | ccbfac2923c9febaeaf07a50054027a92b502718 [diff] |
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 <sagar.abhishek@gmail.com> Cc: rostedt@goodmis.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>