summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-12-14 00:03:49 (GMT)
committerEmil Medve <Emilian.Medve@Freescale.com>2013-05-26 07:14:03 (GMT)
commit7abc197e3fe79cc2ddcb11b78cab925287d812f3 (patch)
tree0b7ef7f4ad244327483eb7a3b198b8c054f458d8
parent488a04215e10aedfab5d6aefba2a13eb3729062e (diff)
downloadlinux-fsl-qoriq-7abc197e3fe79cc2ddcb11b78cab925287d812f3.tar.xz
cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT
We can't deal with the cpumask allocations which happen in atomic context (see arch/x86/kernel/apic/io_apic.c) on RT right now. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/Kconfig2
-rw-r--r--lib/Kconfig1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 8b866b2..989e191 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -775,7 +775,7 @@ config IOMMU_HELPER
config MAXSMP
bool "Enable Maximum number of SMP Processors and NUMA Nodes"
depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL
- select CPUMASK_OFFSTACK
+ select CPUMASK_OFFSTACK if !PREEMPT_RT_FULL
---help---
Enable maximum number of CPUS and NUMA Nodes for this architecture.
If unsure, say N.
diff --git a/lib/Kconfig b/lib/Kconfig
index 75cdb77..7669d65 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -315,6 +315,7 @@ config CHECK_SIGNATURE
config CPUMASK_OFFSTACK
bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
+ depends on !PREEMPT_RT_FULL
help
Use dynamic allocation for cpumask_var_t, instead of putting
them on the stack. This is a bit more expensive, but avoids