Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 17:51:00 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        Daniel Eischen <eischen@vigrid.com>, Jonathan Lemon <jlemon@flugsvamp.com>, arch@FreeBSD.ORG
Subject:   Re: Thread-specific data and KSEs
Message-ID:  <20001121175100.B18037@fw.wintelcom.net>
In-Reply-To: <XFMail.001121171923.jhb@FreeBSD.org>; from jhb@FreeBSD.ORG on Tue, Nov 21, 2000 at 05:19:23PM -0800
References:  <Pine.SUN.3.91.1001121201152.11654A-100000@pcnet1.pcnet.com> <XFMail.001121171923.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Baldwin <jhb@FreeBSD.ORG> [001121 17:19] wrote:
> 
> On 22-Nov-00 Daniel Eischen wrote:
> >> %gs ?  as I mentioned in my other message, this one might be useful for
> >> addressing a structure of thread-local variables much like %fs is used for
> >> per-CPU data.  It also has value in that supposedly x86-64 (aka k64) has
> >> both
> >> %fs and %gs, but no other seg regs.
> > 
> > All I need is one.
> 
> Well, %gs would cover x86 and k64.  I think ia64 has several application
> registers that are available for OS use and we could steal one of those.  I'm
> not sure about the alpha though.

Don't more segment registers cause more overhead for context switches?

Just wondering.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


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?20001121175100.B18037>