[ppc] Default stack size on ppc64

David Woodhouse dwmw2 at infradead.org
Wed Mar 25 20:03:31 UTC 2015


On Wed, 2015-03-25 at 19:45 +0000, Richard W.M. Jones wrote:
> On Wed, Mar 25, 2015 at 06:30:25PM +0000, David Woodhouse wrote:
> > If the compiler is single-threaded, and increasing the stack ulimit 
> > fixes the problem, that implies that the default stack ulimit is less 
> > than the 8MiB-64KiB that it takes to reach the guard page...
> 
> Just so I'm clear, is the stack supposed to grow down automatically
> (ie. does the stack automatically use MAP_GROWSDOWN), or is OCaml
> supposed to do something when the stack hits the guard page?
> 
> I guess it's also possible that an OCaml stack frame is so big that it
> skips the guard page, or that GCC does some kind of stack "filling" to
> trigger the guard page which OCaml does not do.

This is easy to trigger, right? Can you catch it in gdb and 't a a bt'


-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150325/813e7e71/attachment-0001.bin>


More information about the devel mailing list