From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54390 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvAjg-0002tF-3s for qemu-devel@nongnu.org; Thu, 03 Mar 2011 10:46:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvAjW-0001ar-ST for qemu-devel@nongnu.org; Thu, 03 Mar 2011 10:46:35 -0500 Received: from mail.codesourcery.com ([38.113.113.100]:38173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvAjW-0001aa-B6 for qemu-devel@nongnu.org; Thu, 03 Mar 2011 10:46:30 -0500 Date: Thu, 3 Mar 2011 07:46:27 -0800 From: Nathan Froyd Subject: Re: [Qemu-devel] [PATCH] linux-user: bigger default stack Message-ID: <20110303154626.GA23686@codesourcery.com> References: <20110303153737.GA23633@afflict.kos.to> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110303153737.GA23633@afflict.kos.to> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Riku Voipio Cc: qemu-devel@nongnu.org On Thu, Mar 03, 2011 at 05:37:37PM +0200, Riku Voipio wrote: > PTHREAD_STACK_MIN (16KB) is somewhat inadequate for a new stack. follow > the pthread_create defaults, ie setting to RLIMIT_STACK or if unlimited > to 2MB. For what sort oof cases is it inadequate? This stack is just for QEMU's usage and QEMU shouldn't be using very much. The target thread could use quite a bit of course, but that's handled elsewhere. -Nathan