2020-06-23 13:42:59 +00:00
|
|
|
From 5e2789c8f2577b965b4850c91839a3e680ce301d Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <5e2789c8f2577b965b4850c91839a3e680ce301d.1592846147.git.zanussi@kernel.org>
|
|
|
|
In-Reply-To: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
|
|
|
|
References: <07cd0dbc80b976663c80755496a03f288decfe5a.1592846146.git.zanussi@kernel.org>
|
2018-08-27 14:32:32 +00:00
|
|
|
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
Date: Fri, 21 Mar 2014 20:19:05 +0100
|
2020-06-23 13:42:59 +00:00
|
|
|
Subject: [PATCH 044/330] rcu: make RCU_BOOST default on RT
|
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.127-rt55.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
Since it is no longer invoked from the softirq people run into OOM more
|
|
|
|
often if the priority of the RCU thread is too low. Making boosting
|
|
|
|
default on RT should help in those case and it can be switched off if
|
|
|
|
someone knows better.
|
|
|
|
|
|
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
kernel/rcu/Kconfig | 4 ++--
|
2018-08-27 14:32:32 +00:00
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig
|
|
|
|
index 644264be90f0..a243a78ff38c 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/kernel/rcu/Kconfig
|
|
|
|
+++ b/kernel/rcu/Kconfig
|
2018-11-15 07:47:09 +00:00
|
|
|
@@ -190,8 +190,8 @@ config RCU_FAST_NO_HZ
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
config RCU_BOOST
|
|
|
|
bool "Enable RCU priority boosting"
|
2018-11-15 07:47:09 +00:00
|
|
|
- depends on RT_MUTEXES && PREEMPT_RCU && RCU_EXPERT
|
2018-08-27 14:32:32 +00:00
|
|
|
- default n
|
2018-11-15 07:47:09 +00:00
|
|
|
+ depends on (RT_MUTEXES && PREEMPT_RCU && RCU_EXPERT) || PREEMPT_RT_FULL
|
2018-08-27 14:32:32 +00:00
|
|
|
+ default y if PREEMPT_RT_FULL
|
|
|
|
help
|
|
|
|
This option boosts the priority of preempted RCU readers that
|
|
|
|
block the current preemptible RCU grace period for too long.
|
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
|
|
|
|