This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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] Fix manythreads test case on s390


Andrew Cagney wrote:
Hello,

the new manythreads.c test case fails on s390 when using NPTL,
because it tries to create 256 threads with default thread stack
size (which happens to be 8MB for NPTL).  This is hard to do
when the total address space size is 2 GB...

This can be fixed by using pthread_addr_setstacksize to reduce
the thread stack size.


Outch, the fix is "obvious". Jeff, what to check this in along with the (C) fix?


Both changes checked in.


-- Jeff J.




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