projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320ab2b
)
cpumask: Add CONFIG_CPUMASK_OFFSTACK
author
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 13 Dec 2008 10:50:27 +0000
(21:20 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Sat, 13 Dec 2008 10:50:27 +0000
(21:20 +1030)
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 <rusty@rustcorp.com.au>
lib/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/lib/Kconfig
b/lib/Kconfig
index 85cf7ea978aafe6606e6e44cc634a82e6cf29477..7823f8342abf1c8f403a251b56d428dc9bf703a5 100644
(file)
--- 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