From: Ian Jackson Subject: Re: [PATCH] xenstore: set READ_THREAD_STACKSIZE to a sane value Date: Tue, 11 Mar 2014 16:25:33 +0000 Message-ID: <21279.14589.377018.521819@mariner.uk.xensource.com> References: <1394194978-20200-1-git-send-email-roger.pau@citrix.com> <21277.62094.517108.207924@mariner.uk.xensource.com> <1394544254.18366.68.camel@kazak.uk.xensource.com> <531F1505.6010108@citrix.com> <1394547146.30915.21.camel@kazak.uk.xensource.com> <531F31F7.4060504@citrix.com> <1394553824.30915.78.camel@kazak.uk.xensource.com> <531F3743.3010206@citrix.com> <1394554957.30915.83.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1394554957.30915.83.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org, Roger Pau =?utf-8?Q?Monn=C3=A9?= List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH] xenstore: set READ_THREAD_STACKSIZE to a = sane value"): > On Tue, 2014-03-11 at 17:18 +0100, Roger Pau Monn=E9 wrote: > > Another question to ask would be why FreeBSD sets PTHREAD_STACK_MIN to > > 2048 when even a simple malloc call is going to blow that up, > = > It does seem rather aggressive, but I suppose it is "min" not > "sensible_min". Well, actually, a malloc works, doesn't it ? The problem is that we have about another 2-3 stack frames with a few more words, on top of that. How about we set it to PTHREAD_STACK_MIN+1024 or something ? Ian.