aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/lockdep.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-02-25 17:06:46 -0500
committerIngo Molnar <mingo@elte.hu>2010-02-26 02:20:46 -0500
commit056ba4a9bea5f32781a36b797c562fb731e5eaa6 (patch)
tree1e28f4aed66666c7d20bc0112c1237fee980924a /kernel/lockdep.c
parentc50cc75271759373bd89a036eec4d4269b291616 (diff)
rcu: Make lockdep_rcu_dereference() message less alarmist
Change from "unsafe" to "suspicious", given that there will be false alarms. Suggested-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Paul 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: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep.c')
-rw-r--r--kernel/lockdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index 672c436946ce..0c30d0455de1 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -3816,9 +3816,9 @@ void lockdep_rcu_dereference(const char *file, const int line)
3816 3816
3817 if (!debug_locks_off()) 3817 if (!debug_locks_off())
3818 return; 3818 return;
3819 printk("\n==============================================\n"); 3819 printk("\n===================================================\n");
3820 printk( "[ BUG: Unsafe rcu_dereference_check() usage! ]\n"); 3820 printk( "[ INFO: suspicious rcu_dereference_check() usage. ]\n");
3821 printk( "----------------------------------------------\n"); 3821 printk( "---------------------------------------------------\n");
3822 printk("%s:%d invoked rcu_dereference_check() without protection!\n", 3822 printk("%s:%d invoked rcu_dereference_check() without protection!\n",
3823 file, line); 3823 file, line);
3824 printk("\nother info that might help us debug this:\n\n"); 3824 printk("\nother info that might help us debug this:\n\n");