summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/EXP-rcu-skip_workqueue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/EXP-rcu-skip_workqueue.patch')
-rw-r--r--debian/patches-rt/EXP-rcu-skip_workqueue.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/debian/patches-rt/EXP-rcu-skip_workqueue.patch b/debian/patches-rt/EXP-rcu-skip_workqueue.patch
deleted file mode 100644
index 04b56aaab..000000000
--- a/debian/patches-rt/EXP-rcu-skip_workqueue.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Paul E. McKenney <paulmck@linux.ibm.com>
-Date: Mon, 29 Oct 2018 11:53:01 +0100
-Subject: [PATCH] EXP rcu: skip the workqueue path on RT
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.0/older/patches-5.0.10-rt7.tar.xz
-
-The function sync_rcu_exp_select_cpus() is only invoked once on boot because
-the "force expedite" is not enabled on RT. In that case on RT we have like we
-wouldn't have workqueues available so that we don't attempt to schedule them
-with disabled preemption.
-
-Suggested-by: Paul E. McKenney <paulmck@linux.ibm.com>
-Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
----
- kernel/rcu/tree_exp.h | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/kernel/rcu/tree_exp.h
-+++ b/kernel/rcu/tree_exp.h
-@@ -441,7 +441,8 @@ static void sync_rcu_exp_select_cpus(smp
- if (!READ_ONCE(rnp->expmask))
- continue; /* Avoid early boot non-existent wq. */
- rnp->rew.rew_func = func;
-- if (!READ_ONCE(rcu_par_gp_wq) ||
-+ if (IS_ENABLED(CONFIG_PREEMPT_RT_FULL) ||
-+ !READ_ONCE(rcu_par_gp_wq) ||
- rcu_scheduler_active != RCU_SCHEDULER_RUNNING ||
- rcu_is_last_leaf_node(rnp)) {
- /* No workqueues yet or last leaf, do direct call. */