All of lore.kernel.org
 help / color / mirror / Atom feed
* arm: why set MIN_GAP to 128M size
@ 2016-11-07  6:09 ` Chenjie (K)
  0 siblings, 0 replies; 2+ messages 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] 2+ messages in thread

end of thread, other threads:[~2016-11-07  6:15 UTC | newest]

Thread overview: 2+ messages (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)
2016-11-07  6:09 ` Chenjie (K)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.