diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-03 11:17:03 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-12-03 11:17:03 +1100 |
commit | aba3e5b25a349f8b4ffc3af859e31cb83314ac9e (patch) | |
tree | 5bfc54fd82b7f75358d58d808b898a713a886579 /lib | |
parent | 3bfcad460e0c2d2ef982e6387553ba8800b2f1a3 (diff) |
cpumask:CONFIG_CPUMASK_OFFSTACK
Currently it can be set if DEBUG_PER_CPU_MAPS, or set specifically by
an arch.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index bfc7b8f33388..236627c228fe 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -161,4 +161,11 @@ config CHECK_SIGNATURE config HAVE_LMB 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 |