From owner-cvs-all Fri Oct 26 17:57:36 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id E98EC37B401; Fri, 26 Oct 2001 17:57:27 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f9R0vRM46064; Fri, 26 Oct 2001 17:57:27 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 63896380A; Fri, 26 Oct 2001 17:57:26 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Robert Watson 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 In-Reply-To: Date: Fri, 26 Oct 2001 17:57:26 -0700 From: Peter Wemm Message-Id: <20011027005726.63896380A@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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