Date: Fri, 26 Oct 2001 17:57:26 -0700 From: Peter Wemm <peter@wemm.org> To: Robert Watson <rwatson@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_init.c uthread_stack.c Message-ID: <20011027005726.63896380A@overcee.netplex.com.au> In-Reply-To: <Pine.NEB.3.96L.1011026175820.88508Z-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote: > > Boy, weird things happened to the header of that message. Wonder if it > was my fault, or some random network/host evil :-) Lets just blame it on you. :-) > On Fri, 26 Oct 2001, Robert Watson wrote: > > > > > Is the user stack constant across all ABIs on a system, or would it make > > sense for that sysctl to be per-ABI? Well, when we have multiple freebsd ABI's on one platform (ia64, x86-64), this would become a proc type sysctl and would return USRSTACK for the current process executable type.... For now this isn't an issue but it will be something that we'll have to revisit when we have multiple abi's to support. As I said in the commit message, I'd rather that we just used %esp (for the i386 example). That works everywhere. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > > robert@fledge.watson.org NAI Labs, Safeport Network Services > > > > On Fri, 26 Oct 2001, Peter Wemm wrote: > > > > > peter 2001/10/26 14:19:22 PDT > > > > > > Modified files: > > > lib/libc_r/uthread pthread_private.h uthread_init.c > > > uthread_stack.c > > > Log: > > > Make libc_r check the kern.usrstack sysctl instead of using internal > > > kernel #defines to figure out where the stack is located. This stops > > > libc_r from exploding when the kernel is compiled with a different > > > KVM size. IMHO this is all kinda bogus, it would be better to just > > > check %esp and work from that. > > > > > > Revision Changes Path > > > 1.63 +7 -0 src/lib/libc_r/uthread/pthread_private.h > > > 1.35 +9 -4 src/lib/libc_r/uthread/uthread_init.c > > > 1.2 +5 -3 src/lib/libc_r/uthread/uthread_stack.c > > > > > > > > > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011027005726.63896380A>