|
@@ -165,7 +165,11 @@ static void invoke_rcu_core(void);
|
|
|
static void invoke_rcu_callbacks(struct rcu_state *rsp, struct rcu_data *rdp);
|
|
|
|
|
|
/* rcuc/rcub kthread realtime priority */
|
|
|
+#ifdef CONFIG_RCU_KTHREAD_PRIO
|
|
|
static int kthread_prio = CONFIG_RCU_KTHREAD_PRIO;
|
|
|
+#else /* #ifdef CONFIG_RCU_KTHREAD_PRIO */
|
|
|
+static int kthread_prio = IS_ENABLED(CONFIG_RCU_BOOST) ? 1 : 0;
|
|
|
+#endif /* #else #ifdef CONFIG_RCU_KTHREAD_PRIO */
|
|
|
module_param(kthread_prio, int, 0644);
|
|
|
|
|
|
/* Delay in jiffies for grace-period initialization delays, debug only. */
|