[Top][All Lists]

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

Re: [Qemu-devel] [PATCH] linux-user: bigger default stack

From: Riku Voipio
Subject: Re: [Qemu-devel] [PATCH] linux-user: bigger default stack
Date: Thu, 3 Mar 2011 18:15:49 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Mar 03, 2011 at 07:46:27AM -0800, Nathan Froyd wrote:
> 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.  

QEMU linux-user calls glibc functions which, while usually very conservative
with memory usage, are not guaranteed not take less than 10KB (at do_syscall
we are already around 5 functions deep).

Our specific case we hit this is ugly, LD_PRELOAD library over glibc functions
with lots messy string handling... 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]