Date: Thu, 30 Nov 2000 06:31:08 -0800 From: Julian Elischer <julian@elischer.org> To: Tony Finch <dot@dotat.at> Cc: arch@freebsd.org Subject: Re: Thread-specific data and KSEs Message-ID: <3A2664AC.493B4101@elischer.org> References: <20001122133421.S18037@fw.wintelcom.net> <Pine.SUN.3.91.1001122180448.7920A-100000@pcnet1.pcnet.com> <20001130065503.E58294@hand.dotat.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Tony Finch wrote: > > Daniel Eischen <eischen@vigrid.com> wrote: > >On Wed, 22 Nov 2000, Alfred Perlstein wrote: > >> > >> Was there something wrong with the suggestion to put the local info > >> on the stack? I just don't see it being discussed at all. > > > >Yes, I stated that it could not be used. We want to provide a POSIX > >complaint API, and this dictates that applications be able to create > >stacks of their own size and choosing. We can't rely on stacks being > >any particular size, or starting at any particular address. > > Additionally, wouldn't you have to walk up the stack to find its base? > (which I guess would be a bit more expensive than dereferencing %gs) No, you start each stack on some multiple of (say) 1MB and then you just or it with 0xfffff to find the top of the stack.. (This is what one of the MACH threads packages used to do) > > Tony. > -- > f.a.n.finch dot@dotat.at fanf@covalent.net Chad for President! > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A2664AC.493B4101>