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


On Fri, Apr 23, 2004 at 06:33:48PM +0200, Ulrich Weigand 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.

None of the threads run to completion in time to reuse their stack
space?  I'm surprised by that (though it's certainly a valid outcome,
it's unlike how NPTL behaves elsewhere).

Anyway, I've no objection to the patch.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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