2020-06-23 13:42:59 +00:00
|
|
|
From 9117450a92f0382c88bb580ec82d02af1e7ef4cf Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <9117450a92f0382c88bb580ec82d02af1e7ef4cf.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: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
Date: Sun, 17 Jul 2011 21:51:45 +0200
|
2020-06-23 13:42:59 +00:00
|
|
|
Subject: [PATCH 042/330] locking: Disable spin on owner for RT
|
2019-04-08 23:49:20 +00:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
2020-06-23 13:42:59 +00:00
|
|
|
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
|
|
|
|
|
|
|
Drop spin on owner for mutex / rwsem. We are most likely not using it
|
|
|
|
but…
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
kernel/Kconfig.locks | 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/Kconfig.locks b/kernel/Kconfig.locks
|
|
|
|
index 84d882f3e299..af27c4000812 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/kernel/Kconfig.locks
|
|
|
|
+++ b/kernel/Kconfig.locks
|
|
|
|
@@ -225,11 +225,11 @@ config ARCH_SUPPORTS_ATOMIC_RMW
|
|
|
|
|
|
|
|
config MUTEX_SPIN_ON_OWNER
|
|
|
|
def_bool y
|
|
|
|
- depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW
|
|
|
|
+ depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW && !PREEMPT_RT_FULL
|
|
|
|
|
|
|
|
config RWSEM_SPIN_ON_OWNER
|
|
|
|
def_bool y
|
|
|
|
- depends on SMP && RWSEM_XCHGADD_ALGORITHM && ARCH_SUPPORTS_ATOMIC_RMW
|
|
|
|
+ depends on SMP && RWSEM_XCHGADD_ALGORITHM && ARCH_SUPPORTS_ATOMIC_RMW && !PREEMPT_RT_FULL
|
|
|
|
|
|
|
|
config LOCK_SPIN_ON_OWNER
|
|
|
|
def_bool y
|
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
|
|
|
|