diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-12-14 01:03:49 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-10-31 10:54:42 -0400 |
commit | 05e1075d39099e803fcd1aeb7443cd0885fbc507 (patch) | |
tree | 2b2e6bccfad8c9e8ec4b7e74720bd8cc8562aa8a | |
parent | 364ab12fad7c2a3274dcd148f00ba1ad3d6da25e (diff) |
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/Kconfig | 2 | ||||
-rw-r--r-- | lib/Kconfig | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2360faa7c9d4..0fc1920e49a6 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -811,7 +811,7 @@ config IOMMU_HELPER config MAXSMP bool "Enable Maximum number of SMP Processors and NUMA Nodes" depends on X86_64 && SMP && DEBUG_KERNEL - 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 991c98bc4a3f..d20e75d4a55b 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -357,6 +357,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 |