PERFORCE change 114732 for review

Jung-uk Kim jkim at FreeBSD.org
Tue Feb 20 19:19:36 UTC 2007


On Tuesday 20 February 2007 12:25 pm, John Baldwin wrote:
> On Monday 19 February 2007 17:56, Jung-uk Kim wrote:
> > http://perforce.freebsd.org/chv.cgi?CH=114732
> >
> > Change 114732 by jkim at jkim_hammer on 2007/02/19 22:56:14
> >
> > 	Finish TLS on amd64 support.
> > 	It may have rough edges but it seems usable.
> > 	Tested on a real UP machine and QEMU SMP.
> >
> > 	<rant>
> > 	PCB_32BIT flag was half-baked and never used from the day one.
> > 	Unfortunately it was confusing me from the beginning. :-(
> > 	</rant>
>
> Are you going to set the flag for ia32 processes as well?

No, not at the moment.  freebsd32 does not modify %gs at all.  We 
modify base address directly with sysarch(2).  It is nice to have 
consistent %gs and base address pair but it adds overhead for context 
switching.

Jung-uk Kim


More information about the p4-projects mailing list