From owner-freebsd-current Mon May 7 11:15:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 6EEC037B422 for ; Mon, 7 May 2001 11:15:17 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.1) with ESMTP id f47IFB049972; Mon, 7 May 2001 11:15:11 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.3/8.11.0) id f47IFBs64511; Mon, 7 May 2001 11:15:11 -0700 (PDT) (envelope-from jdp) Date: Mon, 7 May 2001 11:15:11 -0700 (PDT) Message-Id: <200105071815.f47IFBs64511@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: eischen@vigrid.com Subject: Re: Rfork'd threads, signals, and LDTs In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Daniel Eischen wrote: > > I was looking at our linuxthreads port and noticed some %gs > fiddling. If linuxthreads wants to allow POSIX semantics for > specifying thread stack allocation, they'll have to stop relying > on stack alignments for TSD. Agreed. It appears that they use %gs if it is determined (at glibc build time) that the target Linux kernel is new enough (2.3.99) to support it. The Red Hat 7.0 kernel is 2.2.16. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message