aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r--kernel/rcu/tree.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 65abb399b08d..b4bcb5e21ca6 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -180,6 +180,13 @@ module_param(gp_init_delay, int, 0444);
180static int gp_cleanup_delay; 180static int gp_cleanup_delay;
181module_param(gp_cleanup_delay, int, 0444); 181module_param(gp_cleanup_delay, int, 0444);
182 182
183/* Retreive RCU kthreads priority for rcutorture */
184int rcu_get_gp_kthreads_prio(void)
185{
186 return kthread_prio;
187}
188EXPORT_SYMBOL_GPL(rcu_get_gp_kthreads_prio);
189
183/* 190/*
184 * Number of grace periods between delays, normalized by the duration of 191 * Number of grace periods between delays, normalized by the duration of
185 * the delay. The longer the delay, the more the grace periods between 192 * the delay. The longer the delay, the more the grace periods between