52 lines
1.8 KiB
Diff
52 lines
1.8 KiB
Diff
Subject: kconfig-disable-a-few-options-rt.patch
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Sun, 24 Jul 2011 12:11:43 +0200
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/patches-3.10.4-rt1.tar.xz
|
|
|
|
Disable stuff which is known to have issues on RT
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
arch/Kconfig | 1 +
|
|
drivers/net/Kconfig | 1 +
|
|
mm/Kconfig | 2 +-
|
|
3 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
Index: linux-stable/arch/Kconfig
|
|
===================================================================
|
|
--- linux-stable.orig/arch/Kconfig
|
|
+++ linux-stable/arch/Kconfig
|
|
@@ -6,6 +6,7 @@ config OPROFILE
|
|
tristate "OProfile system profiling"
|
|
depends on PROFILING
|
|
depends on HAVE_OPROFILE
|
|
+ depends on !PREEMPT_RT_FULL
|
|
select RING_BUFFER
|
|
select RING_BUFFER_ALLOW_SWAP
|
|
help
|
|
Index: linux-stable/drivers/net/Kconfig
|
|
===================================================================
|
|
--- linux-stable.orig/drivers/net/Kconfig
|
|
+++ linux-stable/drivers/net/Kconfig
|
|
@@ -164,6 +164,7 @@ config VXLAN
|
|
|
|
config NETCONSOLE
|
|
tristate "Network console logging support"
|
|
+ depends on !PREEMPT_RT_FULL
|
|
---help---
|
|
If you want to log kernel messages over the network, enable this.
|
|
See <file:Documentation/networking/netconsole.txt> for details.
|
|
Index: linux-stable/mm/Kconfig
|
|
===================================================================
|
|
--- linux-stable.orig/mm/Kconfig
|
|
+++ linux-stable/mm/Kconfig
|
|
@@ -384,7 +384,7 @@ config NOMMU_INITIAL_TRIM_EXCESS
|
|
|
|
config TRANSPARENT_HUGEPAGE
|
|
bool "Transparent Hugepage Support"
|
|
- depends on HAVE_ARCH_TRANSPARENT_HUGEPAGE
|
|
+ depends on HAVE_ARCH_TRANSPARENT_HUGEPAGE && !PREEMPT_RT_FULL
|
|
select COMPACTION
|
|
help
|
|
Transparent Hugepages allows the kernel to use huge pages and
|