cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT
authorThomas Gleixner <tglx@linutronix.de>
Wed, 14 Dec 2011 00:03:49 +0000 (01:03 +0100)
committerClark Williams <williams@redhat.com>
Wed, 15 Feb 2012 16:33:03 +0000 (10:33 -0600)
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>
arch/x86/Kconfig
lib/Kconfig

index e084a738c69be830797d1105c9b3bc699b7e5c83..c42146edf618f24c2d6d63d4bcb0a8dd500dfda5 100644 (file)
@@ -730,7 +730,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.
index 32f3e5ae2be543c59ae3e50682ca504010eb87a3..63d81e811c1f5592d28ea9c8cd567b2392b354b8 100644 (file)
@@ -231,6 +231,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