diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-12-14 00:03:49 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:21:02 (GMT) |
commit | bdf96ee423279aa590ba3afd784013771f85de70 (patch) | |
tree | f179e488cfdc239645f2169f06c1e2133794fb63 | |
parent | ace746c58bae575a5efaa2069fb80abd109ae699 (diff) | |
download | linux-fsl-qoriq-bdf96ee423279aa590ba3afd784013771f85de70.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/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 a50812c..cd46902 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -821,7 +821,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 c742a2d..eee9e09 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -344,6 +344,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 |