[<prev] [next>] [day] [month] [year] [list]
Message-ID: <58201A93.70309@huawei.com>
Date: Mon, 7 Nov 2016 14:09:23 +0800
From: "Chenjie (K)" <chenjie6@...wei.com>
To: <catalin.marinas@....com>, <will.deacon@....com>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<panxuesong@...wei.com>, <caojiayin@...wei.com>
Subject: arm: why set MIN_GAP to 128M size
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
Powered by blists - more mailing lists