From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 17 13:30:06 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15F6916A401 for ; Sat, 17 Mar 2007 13:30:06 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from outmx032.isp.belgacom.be (outmx032.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id A229513C44B for ; Sat, 17 Mar 2007 13:30:03 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from outmx032.isp.belgacom.be (localhost.localdomain [127.0.0.1]) by outmx032.isp.belgacom.be (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l2HDU1Or011475; Sat, 17 Mar 2007 14:30:02 +0100 Received: from kalimero.kotnet.org (156.204-245-81.adsl-dyn.isp.belgacom.be [81.245.204.156]) by outmx032.isp.belgacom.be (8.13.4/8.13.4/Skynet-OUT-2.22) with ESMTP id l2HDU1kd011452; Sat, 17 Mar 2007 14:30:01 +0100 (envelope-from ) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.8/8.13.8) with ESMTP id l2HDTQT2078141; Sat, 17 Mar 2007 14:29:26 +0100 (CET) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-emulation@freebsd.org Date: Sat, 17 Mar 2007 14:29:22 +0100 User-Agent: KMail/1.9.6 References: <20070316120038.2iizia24mc4wcw8s@webmail.leidinger.net> In-Reply-To: <20070316120038.2iizia24mc4wcw8s@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703171429.25551.tijl@ulyssis.org> Cc: Alexander Leidinger , rdivacky@freebsd.org, kib@freebsd.org, jkim@freebsd.org Subject: Re: 2.6.16 for linuxulator & 7.0 release X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2007 13:30:06 -0000 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