Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2007 15:50:48 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Tijl Coosemans <tijl@ulyssis.org>
Cc:        Alexander Leidinger <Alexander@leidinger.net>, freebsd-emulation@freebsd.org, rdivacky@freebsd.org, jkim@freebsd.org
Subject:   Re: 2.6.16 for linuxulator & 7.0 release
Message-ID:  <20070317135048.GK80993@deviant.kiev.zoral.com.ua>
In-Reply-To: <200703171429.25551.tijl@ulyssis.org>
References:  <20070316120038.2iizia24mc4wcw8s@webmail.leidinger.net> <200703171429.25551.tijl@ulyssis.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--rwbb4r/vLufKlfJs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 =
=20
> > not completely right part it is not committed to current yet. As we =20
> > already have the futex and TLS stuff for i386 on a similar level in =20
> > current, I would say we should go ahead and sync the amd64 stuff. It =
=20
> > is not used by default, so we don't break existing linux stuff and we =
=20
> > get the benefit of more people being able to have a look at it and =20
> > play with it. So what are your opinions, shall we give jkim@ the green =
=20
> > light to MFp4 the futex/TLS stuff?
>=20
> 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)
>=20
> ---  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 */
> =20
> -	/* 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.

--rwbb4r/vLufKlfJs
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFF+/I4C3+MBN1Mb4gRAm+ZAJwKlNfeZ0LhIBO8S3r77p9qLvHK9wCcDsIg
e7UzRY3hJ2s4iZwlsD2b9Ok=
=A6bM
-----END PGP SIGNATURE-----

--rwbb4r/vLufKlfJs--



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