From owner-freebsd-arch Tue Jan 1 5:36:27 2002 Delivered-To: freebsd-arch@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 581A237B422; Tue, 1 Jan 2002 05:36:24 -0800 (PST) Received: from pool0063.cvx40-bradley.dialup.earthlink.net ([216.244.42.63] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16LP5T-0007Ii-00; Tue, 01 Jan 2002 05:36:15 -0800 Message-ID: <3C31BB4D.8F580A4D@mindspring.com> Date: Tue, 01 Jan 2002 05:36:13 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Reilly Cc: Alfred Perlstein , John Baldwin , Julian Elischer , arch@FreeBSD.ORG, Steve Kargl Subject: Re: Kernel Thread scheduler References: <20011122012838.V13393@elvis.mu.org> <20011122014109.W13393@elvis.mu.org> <20020101224733.A25053@gurney.reilly.home> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew Reilly wrote: > On Thu, Nov 22, 2001 at 01:41:09AM -0600, Alfred Perlstein wrote: > > Why do we even care? When was the last time wine was good for > > anything besideds barely being able to run solitare on FreeBSD > > anyhow? > > I know that this is a long dead thread, but I'm on holidays now, > and have time to catch up with the FreeBSD lists... > > Wine is actually very useful (to me) and has been for several > years. I run two applications under it that there aren't other > alternatives for (besides firing up a windows box): Two comments: 1) The TSS switch can be lazy-bound, and so a TSS is not needed per process (setting a TSS per process would have the unfortunate effect of limiting you to 1023 processes... 1024 - 1 for the kernel). This is why Linux removed the TSS dependency on context switches, and why FreeBSD never had it (limit of one 4k page of 32 bit entries = 1024). FreeBSD WINE support has historically lazy-bound this. 2) WINE has a terrible historical track record overall; I personally blame this on their "percentage entry point coverage" calculation, which always fails on the Nth call, which is unimplemented, and then claims ((N-1)/N *100) as the percentage of interface coverage when it's a complete statistical lie. The real question is where is the TSS going to be lazy-bound; I think it's still OK to do it at the process level, and can't see an application for threads (any VM86 calls could be thunked to a single TSS in the kernel for use for VM86, and it's really not necessary with any modern processors, which have an IRQ fast path in hardware, anyway, even if it is a poorly documented one. See The MindShare Protected Mode book). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message