summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-05-21 17:38:22 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2014-05-21 17:38:22 -0700
commit94aca80897501f994c795cffc458ecd0404377c7 (patch)
tree312f96755c4e7ab4c50766aea35c9e7aa2ebe015 /mm
parent03c1b4e8e560455a2634a76998883a22f1a01207 (diff)
parent368b69a5b010cb00fc9ea04d588cff69af1a1359 (diff)
downloadlinux-stable-94aca80897501f994c795cffc458ecd0404377c7.tar.gz
linux-stable-94aca80897501f994c795cffc458ecd0404377c7.tar.bz2
linux-stable-94aca80897501f994c795cffc458ecd0404377c7.zip
Merge remote-tracking branch 'origin/x86/urgent' into x86/vdso
Resolved Conflicts: arch/x86/vdso/vdso32-setup.c Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index ebe5880c29d6..1b5a95f0fa01 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -581,3 +581,18 @@ config PGTABLE_MAPPING
config GENERIC_EARLY_IOREMAP
bool
+
+config MAX_STACK_SIZE_MB
+ int "Maximum user stack size for 32-bit processes (MB)"
+ default 80
+ range 8 256 if METAG
+ range 8 2048
+ depends on STACK_GROWSUP && (!64BIT || COMPAT)
+ help
+ This is the maximum stack size in Megabytes in the VM layout of 32-bit
+ user processes when the stack grows upwards (currently only on parisc
+ and metag arch). The stack will be located at the highest memory
+ address minus the given value, unless the RLIMIT_STACK hard limit is
+ changed to a smaller value in which case that is used.
+
+ A sane initial value is 80 MB.