Re: [PATCH] Bump the default thread stack size on Darwin in libgomp (PR libgomp/79876)

2017-04-04 Thread Mike Stump
On Apr 4, 2017, at 2:20 AM, Dominique d'Humières wrote: >> Dominique has already tested it on Darwin 16 and said he'll test on Darwin >> 10; I'm waiting for those results. >> >> Jakub > > No problem with darwin10. I'm fine with the patch.

Re: [PATCH] Bump the default thread stack size on Darwin in libgomp (PR libgomp/79876)

2017-04-04 Thread Dominique d'Humières
> Le 3 avr. 2017 à 19:00, Jakub Jelinek a écrit : > > On Mon, Apr 03, 2017 at 10:56:13AM -0600, Jeff Law wrote: >> On 04/01/2017 06:24 AM, Jakub Jelinek wrote: >>> Apparently Darwin has insane default stack size for pthread_create >>> unless overridden through

Re: [PATCH] Bump the default thread stack size on Darwin in libgomp (PR libgomp/79876)

2017-04-03 Thread Jeff Law
On 04/03/2017 11:00 AM, Jakub Jelinek wrote: On Mon, Apr 03, 2017 at 10:56:13AM -0600, Jeff Law wrote: On 04/01/2017 06:24 AM, Jakub Jelinek wrote: Apparently Darwin has insane default stack size for pthread_create unless overridden through pthread_attr_setstacksize - 512kB, compared e.g. to

Re: [PATCH] Bump the default thread stack size on Darwin in libgomp (PR libgomp/79876)

2017-04-03 Thread Jakub Jelinek
On Mon, Apr 03, 2017 at 10:56:13AM -0600, Jeff Law wrote: > On 04/01/2017 06:24 AM, Jakub Jelinek wrote: > > Apparently Darwin has insane default stack size for pthread_create > > unless overridden through pthread_attr_setstacksize - 512kB, compared e.g. > > to Linux usual default of around 8MB.

Re: [PATCH] Bump the default thread stack size on Darwin in libgomp (PR libgomp/79876)

2017-04-03 Thread Jeff Law
On 04/01/2017 06:24 AM, Jakub Jelinek wrote: Hi! Apparently Darwin has insane default stack size for pthread_create unless overridden through pthread_attr_setstacksize - 512kB, compared e.g. to Linux usual default of around 8MB. For typical OpenMP uses that is way too low, so the following

[PATCH] Bump the default thread stack size on Darwin in libgomp (PR libgomp/79876)

2017-04-01 Thread Jakub Jelinek
Hi! Apparently Darwin has insane default stack size for pthread_create unless overridden through pthread_attr_setstacksize - 512kB, compared e.g. to Linux usual default of around 8MB. For typical OpenMP uses that is way too low, so the following patch is an attempt to bump it to 2MB just on