Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 11:15:11 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        current@freebsd.org
Cc:        eischen@vigrid.com
Subject:   Re: Rfork'd threads, signals, and LDTs
Message-ID:  <200105071815.f47IFBs64511@vashon.polstra.com>
In-Reply-To: <Pine.SUN.3.91.1010507130624.20611A@pcnet1.pcnet.com>
References:  <Pine.SUN.3.91.1010507130624.20611A@pcnet1.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.SUN.3.91.1010507130624.20611A@pcnet1.pcnet.com>,
Daniel Eischen  <eischen@vigrid.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105071815.f47IFBs64511>