diff options
Diffstat (limited to 'debian/patches-rt/rcu-Use-rcuc-threads-on-PREEMPT_RT-as-we-did.patch')
-rw-r--r-- | debian/patches-rt/rcu-Use-rcuc-threads-on-PREEMPT_RT-as-we-did.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-rt/rcu-Use-rcuc-threads-on-PREEMPT_RT-as-we-did.patch b/debian/patches-rt/rcu-Use-rcuc-threads-on-PREEMPT_RT-as-we-did.patch index 57c6d2d39..69492bf66 100644 --- a/debian/patches-rt/rcu-Use-rcuc-threads-on-PREEMPT_RT-as-we-did.patch +++ b/debian/patches-rt/rcu-Use-rcuc-threads-on-PREEMPT_RT-as-we-did.patch @@ -1,7 +1,7 @@ From: Scott Wood <swood@redhat.com> Date: Wed, 11 Sep 2019 17:57:28 +0100 Subject: [PATCH] rcu: Use rcuc threads on PREEMPT_RT as we did -Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz +Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patches-5.4.3-rt1.tar.xz While switching to the reworked RCU-thread code, it has been forgotten to enable the thread processing on -RT. @@ -16,13 +16,13 @@ Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c -@@ -99,8 +99,10 @@ struct rcu_state rcu_state = { +@@ -100,8 +100,10 @@ struct rcu_state rcu_state = { static bool dump_tree; module_param(dump_tree, bool, 0444); /* By default, use RCU_SOFTIRQ instead of rcuc kthreads. */ -static bool use_softirq = 1; -+static bool use_softirq = !IS_ENABLED(CONFIG_PREEMPT_RT_FULL); -+#ifndef CONFIG_PREEMPT_RT_FULL ++static bool use_softirq = !IS_ENABLED(CONFIG_PREEMPT_RT); ++#ifndef CONFIG_PREEMPT_RT module_param(use_softirq, bool, 0444); +#endif /* Control rcu_node-tree auto-balancing at boot time. */ |