Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Fix manythreads test case on s390
Date: Fri, 23 Apr 2004 18:18:00 -0000	[thread overview]
Message-ID: <20040423181833.GA15513@nevyn.them.org> (raw)
In-Reply-To: <200404231633.SAA27514@faui1d.informatik.uni-erlangen.de>

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


  reply	other threads:[~2004-04-23 18:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 16:33 Ulrich Weigand
2004-04-23 18:18 ` Daniel Jacobowitz [this message]
2004-04-23 19:25   ` Ulrich Weigand
2004-04-24  0:03 ` Andrew Cagney
2004-04-23 19:04   ` Jeff Johnston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040423181833.GA15513@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=weigand@i1.informatik.uni-erlangen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox