From: Rusty Russell Date: Sat, 13 Dec 2008 10:50:27 +0000 (+1030) Subject: cpumask: Add CONFIG_CPUMASK_OFFSTACK X-Git-Tag: v2.6.29-rc1~538^2~24^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=aab46da0520af9c99b7802cebe4f14a81ff39415;p=linux-2.6-omap-h63xx.git 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: Rusty Russell --- diff --git a/lib/Kconfig b/lib/Kconfig index 85cf7ea978a..7823f8342ab 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -157,4 +157,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