From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 13 05:32:09 2003 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA98137B404; Sun, 13 Jul 2003 05:32:09 -0700 (PDT) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6273943FCB; Sun, 13 Jul 2003 05:32:08 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from [128.131.111.60] (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 6106913789; Sun, 13 Jul 2003 14:32:07 +0200 (CEST) Date: Sun, 13 Jul 2003 14:32:10 +0200 (CEST) From: Gerald Pfeifer To: Julian Elischer In-Reply-To: <200307082106.h68L6pKH061228@freefall.freebsd.org> Message-ID: References: <200307082106.h68L6pKH061228@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: emulation@FreeBSD.org cc: current@FreeBSD.org Subject: Re: LDT entries and WINE and Threads.. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 13 Jul 2003 12:32:10 -0000 On Tue, 8 Jul 2003, Julian Elischer wrote: > I'm looking at this and I think that my interpretation is that > WINE, under FreeBSD, blindly allocates LDT entries starting at location 17, > without looking to see if they are in use already.. Do you think that's a bug in Wine, or just a Linuxism? In both cases, I suggest you contact the Wine developers at wine-devel@winehq.com who have been relatively responsive wrt. portability improvements (and dozens of patches I submitted to them to keep Wine building and running on FreeBSD). > It seems to me that we could better serve the applications by having a > differnt API for setting LDTs, and that the kernel should keep track of > which is free and which is not. I agree that, even if there is a bug/Linuxism in Wine, we are better off by remaining as closely to the behavior of Linux in cases like this, for in the end, if something breaks on FreeBSD while it works on GNU/Linux, it makes little difference to the user _why_ it broke. > comments? Thanks for your efforts in this area! ;-) As emulators/wine maintainer and regular upstream contributor, I'd appreciate being Cc:ed on relevant messages on this (not the least because user support requests often arrive in my inbox). Gerald (@FreeBSD.org) -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.pfeifer.com/gerald/