This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 1/2] Set default stack size from program environment
On Wed, Mar 06, 2013 at 09:03:14AM +0100, Andreas Jaeger wrote:
> Is this feature really worth all this overhead and discussion? It looks
> far too complicated if we need to go to such length. Couldn't we design
> something simpler?
I had written the environment variable implementation with the intent
of keeping it as simple as possible. In itself, it gives maximum
flexibility, with the fallback of RLIMIT_STACK as a hard limit. I
interpreted Roland's point as being that simply adding an environment
variable is not good enough and that there ought to be a more thought
out design. I assumed that the core idea of being able to adjust
thread stack sizes administratively (and independently of process
stack size, since they are inherently different in characteristics) is
accepted. If it's not then we ought to discuss that before talking
about implementation specifics.