Revert "smp/cpumask: Make CONFIG_CPUMASK_OFFSTACK=y usable without debug dependency"
authorIngo Molnar <[email protected]>
Sat, 30 Nov 2013 14:20:15 +0000 (15:20 +0100)
committerIngo Molnar <[email protected]>
Sat, 30 Nov 2013 14:20:15 +0000 (15:20 +0100)
This reverts commit 9dd1220114e00d8ec5cdc20085bbe198b21e1985.

Revert it until Linus's concerns are addressed: this option should not
allow nonsensical CONFIG_CPUMASK_OFFSTACK and CONFIG_NR_CPUS values, and
it should probably select sane defaults as well.

Cc: Josh Boyer <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
lib/Kconfig

index 3f7fb4de6ee7dd2b15f8de02f2e96a0e02f49728..06dc74200a5159c5b5458c36e2b71297e638a194 100644 (file)
@@ -342,8 +342,7 @@ config CHECK_SIGNATURE
        bool
 
 config CPUMASK_OFFSTACK
-       bool "Force CPU masks off stack"
-       depends on SMP
+       bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
        help
          Use dynamic allocation for cpumask_var_t, instead of putting
          them on the stack.  This is a bit more expensive, but avoids