diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-04-13 17:19:23 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-10 14:08:34 -0400 |
commit | 26845c2860cebebe6ce2d9d01ae3cb3db84b7e29 (patch) | |
tree | 83849948ea7bffb5e87eecc17a7275e357740632 /kernel/rcutree.c | |
parent | c68de2097a8799549a3c3bf27cbfeea24a604284 (diff) |
rcu: print boot-time console messages if RCU configs out of ordinary
Print boot-time messages if tracing is enabled, if fanout is set
to non-default values, if exact fanout is specified, if accelerated
dyntick-idle grace periods have been enabled, if RCU-lockdep is enabled,
if rcutorture has been boot-time enabled, if the CPU stall detector has
been disabled, or if four-level hierarchy has been enabled.
This is all for TREE_RCU and TREE_PREEMPT_RCU. TINY_RCU will be handled
separately, if at all.
Suggested-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r-- | kernel/rcutree.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 595fb83e9b7d..ec6196fcd1fa 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -1938,12 +1938,6 @@ void __init rcu_init(void) | |||
1938 | int cpu; | 1938 | int cpu; |
1939 | 1939 | ||
1940 | rcu_bootup_announce(); | 1940 | rcu_bootup_announce(); |
1941 | #ifdef CONFIG_RCU_CPU_STALL_DETECTOR | ||
1942 | printk(KERN_INFO "RCU-based detection of stalled CPUs is enabled.\n"); | ||
1943 | #endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ | ||
1944 | #if NUM_RCU_LVL_4 != 0 | ||
1945 | printk(KERN_INFO "Experimental four-level hierarchy is enabled.\n"); | ||
1946 | #endif /* #if NUM_RCU_LVL_4 != 0 */ | ||
1947 | RCU_INIT_FLAVOR(&rcu_sched_state, rcu_sched_data); | 1941 | RCU_INIT_FLAVOR(&rcu_sched_state, rcu_sched_data); |
1948 | RCU_INIT_FLAVOR(&rcu_bh_state, rcu_bh_data); | 1942 | RCU_INIT_FLAVOR(&rcu_bh_state, rcu_bh_data); |
1949 | __rcu_init_preempt(); | 1943 | __rcu_init_preempt(); |