提交 056ba4a9 编写于 作者: P Paul E. McKenney 提交者: Ingo Molnar

rcu: Make lockdep_rcu_dereference() message less alarmist

Change from "unsafe" to "suspicious", given that there will be
false alarms.
Suggested-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
LKML-Reference: <1267135607-7056-1-git-send-email-paulmck@linux.vnet.ibm.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 c50cc752
......@@ -3816,9 +3816,9 @@ void lockdep_rcu_dereference(const char *file, const int line)
if (!debug_locks_off())
return;
printk("\n==============================================\n");
printk( "[ BUG: Unsafe rcu_dereference_check() usage! ]\n");
printk( "----------------------------------------------\n");
printk("\n===================================================\n");
printk( "[ INFO: suspicious rcu_dereference_check() usage. ]\n");
printk( "---------------------------------------------------\n");
printk("%s:%d invoked rcu_dereference_check() without protection!\n",
file, line);
printk("\nother info that might help us debug this:\n\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册