X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=mm%2FKconfig;h=0862816bb455922fb09a3995280bc7a62bd95480;hb=ca82ea2e650adab8d03ffdca6f1cccd3c0bd40ec;hp=9b63c1584a4226c38ca96ebd6aabf4a6cd085c2c;hpb=9dbfe4e4a6b45aa5d5e67407445cf7bd4bcffcfc;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/mm/Kconfig b/mm/Kconfig index 9b63c15..0862816 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -580,3 +580,18 @@ config PGTABLE_MAPPING You can check speed with zsmalloc benchmark: https://github.com/spartacus06/zsmapbench + +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.