Re: Segfault on the i386 enter instruction
From: Lee Revell
Date: Mon May 15 2006 - 15:55:58 EST
On Mon, 2006-05-15 at 23:38 +0400, Stas Sergeev wrote:
> > It is set by a few distributions (for use with flexmmap) in PAM, but
> > not by all. The kernel defaults don't have it.
> That might explain why I get
> $ ulimit -s
> 8192
> on fedora core.
> Thanks for explanations.
Just FYI, this does actually have an important effect on multithreaded
programs - glibc will allocate RLIMIT_STACK for each thread stack. If
mlockall() is used this can eat quite a bit of memory. It's a real
world problem for some pro audio apps.
Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/