lkml.org 
[lkml]   [2016]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectarm: why set MIN_GAP to 128M size
Date
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

\
 
 \ /
  Last update: 2016-11-07 07:16    [W:0.057 / U:0.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site