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>
This commit is contained in:
parent
ace81409f9
commit
76606fcb9c
|
@ -812,7 +812,7 @@ config IOMMU_HELPER
|
||||||
config MAXSMP
|
config MAXSMP
|
||||||
bool "Enable Maximum number of SMP Processors and NUMA Nodes"
|
bool "Enable Maximum number of SMP Processors and NUMA Nodes"
|
||||||
depends on X86_64 && SMP && DEBUG_KERNEL
|
depends on X86_64 && SMP && DEBUG_KERNEL
|
||||||
select CPUMASK_OFFSTACK
|
select CPUMASK_OFFSTACK if !PREEMPT_RT_FULL
|
||||||
---help---
|
---help---
|
||||||
Enable maximum number of CPUS and NUMA Nodes for this architecture.
|
Enable maximum number of CPUS and NUMA Nodes for this architecture.
|
||||||
If unsure, say N.
|
If unsure, say N.
|
||||||
|
|
|
@ -357,6 +357,7 @@ config CHECK_SIGNATURE
|
||||||
|
|
||||||
config CPUMASK_OFFSTACK
|
config CPUMASK_OFFSTACK
|
||||||
bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
|
bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
|
||||||
|
depends on !PREEMPT_RT_FULL
|
||||||
help
|
help
|
||||||
Use dynamic allocation for cpumask_var_t, instead of putting
|
Use dynamic allocation for cpumask_var_t, instead of putting
|
||||||
them on the stack. This is a bit more expensive, but avoids
|
them on the stack. This is a bit more expensive, but avoids
|
||||||
|
|
Loading…
Reference in New Issue