diff options
Diffstat (limited to 'mm/Kconfig')
| -rw-r--r-- | mm/Kconfig | 15 |
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 | |||
| 581 | 581 | ||
| 582 | config GENERIC_EARLY_IOREMAP | 582 | config GENERIC_EARLY_IOREMAP |
| 583 | bool | 583 | bool |
| 584 | |||
| 585 | config MAX_STACK_SIZE_MB | ||
| 586 | int "Maximum user stack size for 32-bit processes (MB)" | ||
| 587 | default 80 | ||
| 588 | range 8 256 if METAG | ||
| 589 | range 8 2048 | ||
| 590 | depends on STACK_GROWSUP && (!64BIT || COMPAT) | ||
| 591 | help | ||
| 592 | This is the maximum stack size in Megabytes in the VM layout of 32-bit | ||
| 593 | user processes when the stack grows upwards (currently only on parisc | ||
| 594 | and metag arch). The stack will be located at the highest memory | ||
| 595 | address minus the given value, unless the RLIMIT_STACK hard limit is | ||
| 596 | changed to a smaller value in which case that is used. | ||
| 597 | |||
| 598 | A sane initial value is 80 MB. | ||
