[PATCH v2] Set default stack size from program environment
Tulio Magno Quites Machado Filho
tuliom@linux.vnet.ibm.com
Fri Mar 1 17:06:00 GMT 2013
Hi Siddhesh,
Siddhesh Poyarekar <siddhesh@redhat.com> writes:
> ChangeLog:
>
> * csu/libc-start.c (__pthread_initialize_minimal): Change
> function arguments.
> * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
>
> nptl/ChangeLog:
>
> * Makefile (tests): Add tst-pthread-stack-env.
> (tst-pthread-stack-env-ENV): Set environment for test.
> * nptl-init.c (set_default_stacksize): New function.
> (__pthread_initialize_minimal_internal): Accept ARGC, ARGV
> and
> ENVP. Initialize __ENVIRON and set __DEFAULT_STACKSIZE.
> * tst-pthread-stack-env.c: New test case.
I noticed this test case is failing when building for Power7:
$ cat nptl/tst-pthread-stack-env.out
Stack size is 983040, should be 1048576
Have you also noticed that?
--
Tulio Magno
More information about the Libc-alpha
mailing list