This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] allow LinuxThreads to have larger stacks for the mainthread


> This is not usable.  Many architectures severely limit the stack size.
> On x86 there is a hard limit of 8MB.  The remaining 120MB would be
> unused, or worse, used for other mappings.

Ok, can someone explain to me that hard limit of 8MB on x86?  I wasn't
aware of it at all.  Is this built into LinuxThreads in some other
place, or is it a kernel limitation?  I am aware that many
distributions set the default stack limit to 8MB (and I think that is
good).

The patch could of course also be applied with MAIN_STACK_SIZE_MAX set
to 8MB, a fourfold improvement over the current situation.

Regards,
Wolfram.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]