With RCU callbacks deferred to the `rcuc' thread it is more likely that people run into OOM if the RCU reader or the thread is stalled for too long and RCU can't continue its work. On PREEMPT_RT this is more likely because the amount of RT tasks is higher and the general workload involves more RT tasks. Make RCU_BOOST default on PREEMPT_RT to ease the configuration. It can be still disabled if someone knows better. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> --- kernel/rcu/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig index cdc57b4f6d48a..aa8cc8c977e78 100644 --- a/kernel/rcu/Kconfig +++ b/kernel/rcu/Kconfig @@ -188,8 +188,8 @@ config RCU_FAST_NO_HZ config RCU_BOOST bool "Enable RCU priority boosting" - depends on RT_MUTEXES && PREEMPT_RCU && RCU_EXPERT - default n + depends on (RT_MUTEXES && PREEMPT_RCU && RCU_EXPERT) || PREEMPT_RT + default y if PREEMPT_RT help This option boosts the priority of preempted RCU readers that block the current preemptible RCU grace period for too long. -- 2.29.2