2020-08-28 04:53:35 +00:00
|
|
|
From 65160311d558fbe5d0aaae8a03ecbf56a42ff10c Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <65160311d558fbe5d0aaae8a03ecbf56a42ff10c.1596234183.git.zanussi@kernel.org>
|
|
|
|
In-Reply-To: <378ee68279f6a7631221f2670a9298620148690d.1596234183.git.zanussi@kernel.org>
|
|
|
|
References: <378ee68279f6a7631221f2670a9298620148690d.1596234183.git.zanussi@kernel.org>
|
2018-08-27 14:32:32 +00:00
|
|
|
From: Julia Cartwright <julia@ni.com>
|
|
|
|
Date: Wed, 12 Oct 2016 11:21:14 -0500
|
2020-07-15 20:05:29 +00:00
|
|
|
Subject: [PATCH 163/329] rcu: enable rcu_normal_after_boot by default for RT
|
2020-08-28 04:53:35 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.135-rt60.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
The forcing of an expedited grace period is an expensive and very
|
|
|
|
RT-application unfriendly operation, as it forcibly preempts all running
|
|
|
|
tasks on CPUs which are preventing the gp from expiring.
|
|
|
|
|
|
|
|
By default, as a policy decision, disable the expediting of grace
|
|
|
|
periods (after boot) on configurations which enable PREEMPT_RT_FULL.
|
|
|
|
|
|
|
|
Suggested-by: Luiz Capitulino <lcapitulino@redhat.com>
|
2018-11-15 07:47:09 +00:00
|
|
|
Acked-by: Paul E. McKenney <paulmck@linux.ibm.com>
|
2018-08-27 14:32:32 +00:00
|
|
|
Signed-off-by: Julia Cartwright <julia@ni.com>
|
|
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
kernel/rcu/update.c | 2 +-
|
2018-08-27 14:32:32 +00:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c
|
2019-04-30 12:45:19 +00:00
|
|
|
index 6ffafb1b1584..16d8dba23329 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/kernel/rcu/update.c
|
|
|
|
+++ b/kernel/rcu/update.c
|
2019-04-30 12:45:19 +00:00
|
|
|
@@ -68,7 +68,7 @@ extern int rcu_expedited; /* from sysctl */
|
2018-08-27 14:32:32 +00:00
|
|
|
module_param(rcu_expedited, int, 0);
|
|
|
|
extern int rcu_normal; /* from sysctl */
|
|
|
|
module_param(rcu_normal, int, 0);
|
|
|
|
-static int rcu_normal_after_boot;
|
|
|
|
+static int rcu_normal_after_boot = IS_ENABLED(CONFIG_PREEMPT_RT_FULL);
|
|
|
|
module_param(rcu_normal_after_boot, int, 0);
|
|
|
|
#endif /* #ifndef CONFIG_TINY_RCU */
|
|
|
|
|
2020-01-03 23:36:11 +00:00
|
|
|
--
|
2020-06-22 13:14:16 +00:00
|
|
|
2.17.1
|
2020-01-03 23:36:11 +00:00
|
|
|
|