Re: Setting RLIMIT_STACK

2010-07-18 Thread Alberto Bertogli
On Sun, Jul 18, 2010 at 02:40:19PM -0300, Alberto Bertogli wrote: > Peeking around the source browser I notice that the change that introduced > the setrlimit() you describe is commit 1.191, dated 2008-11-30, which is > post-3.81. > > Seeing that, I tried the latest alpha release

Re: Setting RLIMIT_STACK

2010-07-18 Thread Alberto Bertogli
On Sun, Jul 18, 2010 at 12:54:56PM -0400, Paul Smith wrote: > On Sat, 2010-07-17 at 02:22 -0300, Alberto Bertogli wrote: > > Chasing a bug, I noticed that make sets RLIMIT_STACK to RLIM_INFINITY. > > > > In Linux (since 2.6.25), that actually triggers a very subtle behaviour

Setting RLIMIT_STACK

2010-07-16 Thread Alberto Bertogli
Hi! Chasing a bug, I noticed that make sets RLIMIT_STACK to RLIM_INFINITY. In Linux (since 2.6.25), that actually triggers a very subtle behaviour change in the way the kernel manages the memory layout. While most applications are oblivious to it, some are not and can cause issues that are not s