[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xenstore: set READ_THREAD_STACKSIZE to a sane value



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.