* arm: why set MIN_GAP to 128M size
@ 2016-11-07 6:09 Chenjie (K)
0 siblings, 0 replies; only message in thread
From: Chenjie (K) @ 2016-11-07 6:09 UTC (permalink / raw)
To: catalin.marinas, will.deacon
Cc: linux-mm, linux-kernel, panxuesong, caojiayin
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 majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-07 6:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-07 6:09 arm: why set MIN_GAP to 128M size Chenjie (K)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).