From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] Re: Threads: Sewing badges of honor onto a Kernel Message-ID: <20040227122445.H22848@cackle.proxima.alt.za> References: <20040227120737.G22848@cackle.proxima.alt.za> <546b0d5927ae22ab3a714cabaaa0f47a@terzarima.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <546b0d5927ae22ab3a714cabaaa0f47a@terzarima.net>; from Charles Forsyth on Fri, Feb 27, 2004 at 10:14:32AM +0000 Date: Fri, 27 Feb 2004 12:24:46 +0200 Topicbox-Message-UUID: ff5dae60-eacc-11e9-9e20-41e7f4b1d025 On Fri, Feb 27, 2004 at 10:14:32AM +0000, Charles Forsyth wrote: > > >>Yeow! And where do I put the returned address, so that no other thread > >>can stomp on it? While I attempt to use it? > > the process is running by then on its own stack, so the result is either in > a register (EAX say) or in a temporary on the stack but either way, it's private. > Sure, but I thought the idea was that all storage was shared, except any that was privately allocated later. Did I read wrong Torvalds' comments about the stack being nothing special? And then a new private stack comes along? How is it initialised? Isn't it a duplicate? I think I'm out of my depth. ++L