aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-04-13 19:18:22 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-05-10 14:08:34 -0400
commit4300aa642cc9ecb35f2e0683dd294fb790ef028c (patch)
treeb70d676b02c6311a638fdaa6f3df8773b39fade1 /kernel/rcutree.h
parent26845c2860cebebe6ce2d9d01ae3cb3db84b7e29 (diff)
rcu: improve RCU CPU stall-warning messages
The existing RCU CPU stall-warning messages can be confusing, especially in the case where one CPU detects a single other stalled CPU. In addition, the console messages did not say which flavor of RCU detected the stall, which can make it difficult to work out exactly what is causing the stall. This commit improves these messages. Requested-by: Dhaval Giani <dhaval.giani@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.h')
-rw-r--r--kernel/rcutree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcutree.h b/kernel/rcutree.h
index 4a525a30e08e..11f171121ad9 100644
--- a/kernel/rcutree.h
+++ b/kernel/rcutree.h
@@ -326,6 +326,7 @@ struct rcu_state {
326 unsigned long jiffies_stall; /* Time at which to check */ 326 unsigned long jiffies_stall; /* Time at which to check */
327 /* for CPU stalls. */ 327 /* for CPU stalls. */
328#endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ 328#endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */
329 char *name; /* Name of structure. */
329}; 330};
330 331
331/* Return values for rcu_preempt_offline_tasks(). */ 332/* Return values for rcu_preempt_offline_tasks(). */