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


Daniel Jacobowitz wrote:

> 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).

On my system the 127th pthread_create reproducibly fails, which
is consistent with no thread stack being reused early.

Maybe it's an SMP effect (one CPU is quickly running all the 
pthread_create's, while the others are executing the thread
functions, which may be slow due to printf ...)?

On the other hand, it may also be the case that running in a
virtualized environment exaggerates race windows; we've seen
plenty of examples for this.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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