summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorPaul E. McKenney2019-01-12 01:10:57 +0100
committerPaul E. McKenney2019-03-26 22:40:13 +0100
commit10462d6f58fb6dbde7563e9343505d98d5bfba3d (patch)
tree9b8ade352a6fbcb11fa19dd49eb6c8f563ac32d8 /kernel/rcu/tree.c
parentLinux 5.1-rc1 (diff)
downloadkernel-qcow2-linux-10462d6f58fb6dbde7563e9343505d98d5bfba3d.tar.gz
kernel-qcow2-linux-10462d6f58fb6dbde7563e9343505d98d5bfba3d.tar.xz
kernel-qcow2-linux-10462d6f58fb6dbde7563e9343505d98d5bfba3d.zip
rcu: Move RCU CPU stall-warning code out of update.c
The RCU CPU stall-warning code for normal grace periods is currently scattered across three files, due to earlier Tiny RCU support for RCU CPU stall warnings and for old Kconfig options that have long since been retired. Given that it is hard for the lead RCU maintainer to find relevant stall-warning code, it would be good to consolidate it. This commit starts this process by moving stall-warning code from kernel/rcu/update.c to a new kernel/rcu/tree_stall.h file. Note that the definitions of rcu_cpu_stall_suppress and rcu_cpu_stall_timeout must remain in kernel/rcu/update.h to provide compatibility for kernel boot parameter lists. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index acd6ccf56faf..424d50ccf9e6 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -3858,5 +3858,6 @@ void __init rcu_init(void)
srcu_init();
}
+#include "tree_stall.h"
#include "tree_exp.h"
#include "tree_plugin.h"