Commit aab46da0 authored by Rusty Russell's avatar Rusty Russell

cpumask: Add CONFIG_CPUMASK_OFFSTACK

Impact: Add config option to enable code in cpumask.h

Currently it can be set if DEBUG_PER_CPU_MAPS, or set specifically by
an arch.
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 320ab2b0
...@@ -157,4 +157,11 @@ config CHECK_SIGNATURE ...@@ -157,4 +157,11 @@ config CHECK_SIGNATURE
config HAVE_LMB config HAVE_LMB
boolean boolean
config CPUMASK_OFFSTACK
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
stack overflow.
endmenu endmenu
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment