2.6.16 for linuxulator & 7.0 release

Kostik Belousov kostikbel at gmail.com
Sat Mar 17 14:08:10 UTC 2007


On Sat, Mar 17, 2007 at 02:29:22PM +0100, Tijl Coosemans wrote:
> On Friday 16 March 2007 12:00:38 Alexander Leidinger wrote:
> > In p4 we have the futex/TLS stuff for amd64 but because of the futexes  
> > not completely right part it is not committed to current yet. As we  
> > already have the futex and TLS stuff for i386 on a similar level in  
> > current, I would say we should go ahead and sync the amd64 stuff. It  
> > is not used by default, so we don't break existing linux stuff and we  
> > get the benefit of more people being able to have a look at it and  
> > play with it. So what are your opinions, shall we give jkim@ the green  
> > light to MFp4 the futex/TLS stuff?
> 
> You should let an amd64 guru review the tls part in imho. I don't think
> you can remove these lines for instance: (from linuxolator-p4.diff)
> 
> ---  sys/amd64/amd64/cpu_switch.S.orig
> +++  sys/amd64/amd64/cpu_switch.S
> @@ -104,11 +104,12 @@
>  	testl	$PCB_32BIT,PCB_FLAGS(%r8)
>  	jz	1f				/* no, skip over */
>  
> -	/* Save segment selector numbers */
> -	movl	%ds,PCB_DS(%r8)
> -	movl	%es,PCB_ES(%r8)
> -	movl	%fs,PCB_FS(%r8)
> [...]
> -	/* Restore segment selector numbers */
> -	movl	PCB_DS(%r8),%ds
> -	movl	PCB_ES(%r8),%es
> -	movl	PCB_FS(%r8),%fs

In fact, I'm very interested in reading the patch (in the part related to
amd64 implementation of TLS/LDT). So, URL of the diff (in applicable form)
of that change is very much welcome.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20070317/9bcea06b/attachment.pgp


More information about the freebsd-emulation mailing list