arm: why set MIN_GAP to 128M size
From: Chenjie (K)
Date: Mon Nov 07 2016 - 01:15:49 EST
Hi everyone
arm:
/* gap between mmap and stack */
#define MIN_GAP (128*1024*1024UL)
The min_gap is 128M,
in the mmap_base function
unsigned long gap = rlimit(RLIMIT_STACK);
if (gap < MIN_GAP)
gap = MIN_GAP;
else if (gap > MAX_GAP)
gap = MAX_GAP;
I can not use the "128-stack_size"(M)
can i modify it to 64M?
Thanks,
jie chen