From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14768 invoked by alias); 23 Apr 2004 18:18:34 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14719 invoked from network); 23 Apr 2004 18:18:33 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 23 Apr 2004 18:18:33 -0000 Received: from drow by nevyn.them.org with local (Exim 4.32 #1 (Debian)) id 1BH5Fx-00043Q-1j; Fri, 23 Apr 2004 14:18:33 -0400 Date: Fri, 23 Apr 2004 18:18:00 -0000 From: Daniel Jacobowitz To: Ulrich Weigand Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Fix manythreads test case on s390 Message-ID: <20040423181833.GA15513@nevyn.them.org> Mail-Followup-To: Ulrich Weigand , gdb-patches@sources.redhat.com References: <200404231633.SAA27514@faui1d.informatik.uni-erlangen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404231633.SAA27514@faui1d.informatik.uni-erlangen.de> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00576.txt.bz2 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