Skip to contentSkip to conversation

arm: why set MIN_GAP to 128M size

DISCUSSION Chenjie (K) 1 participant 1 message Nov 7, 2016 Memory management

lore
Share & tools
lore
#0 lore raw

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>