> On Mon, 04 Jan 2010, Carlos O'Donell wrote: > > > On Mon, Jan 4, 2010 at 11:27 AM, Helge Deller <deller@xxxxxx> wrote: > > This is wrong. Each thread should have 8MB of stack. If we only get ~ > > 0x40 bytes then npt/nptl-init.c is setting __default_stacksize > > incorrectly. > > The 0x40 bytes is the initial frame allocated for clone running in > the child thread. The code is not running out of stack space. If only 0x40 bytes of stack were allocated, start_thread would fault almost immediately: Dump of assembler code for function start_thread: 0x40a40300 <+0>: stw rp,-14(sp) 0x40a40304 <+4>: ldo 1c0(sp),sp 0x40a40308 <+8>: ldo 274(r26),r21 0x40a4030c <+12>: stw r9,-6c(sp) Dave -- J. David Anglin dave.anglin@xxxxxxxxxxxxxx National Research Council of Canada (613) 990-0752 (FAX: 952-6602) -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html