From owner-freebsd-emulation Mon Jan 10 0:10: 9 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4]) by hub.freebsd.org (Postfix) with ESMTP id B0F4114EDB for ; Mon, 10 Jan 2000 00:10:05 -0800 (PST) (envelope-from marc@bowtie.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id JAA02886 for emulation@freebsd.org; Mon, 10 Jan 2000 09:10:04 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by bowtie.nl (8.8.8/8.8.8) with ESMTP id JAA28349 for ; Mon, 10 Jan 2000 09:09:49 +0100 (CET) (envelope-from marc@bowtie.nl) Message-Id: <200001100809.JAA28349@bowtie.nl> X-Mailer: exmh version 2.1.1 10/15/1999 To: emulation@freebsd.org Subject: modify_ldt on -STABLE? Reply-To: marc@bowtie.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Jan 2000 09:09:48 +0100 From: Marc van Kempen Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I've been looking at backporting modify_ldt() for the linux emulator from -current to -stable (I need it to run the IBM java VM, they are claiming to come within 13% of the performance of the Windows JVM!) But before I get into it over my head, is this feasible? I've been looking through the code, but the necessary calls. sysarch(): i386_get_ldt() and i386_set_ldt() are only defined in machdep.c, while in -current they seem to have moved to a more generally available location. So would this be relatively straightforward to do, or will I end up modifying code all over the kernel? Regards, Marc. PS. Another question worth asking, did someone succeed in running this thing on -current? If you want to try, look at http://www.ibm.com/java/jdk/118/linux/ -- ---------------------------------------------------- Marc van Kempen BowTie Technology Email: marc@bowtie.nl WWW & Databases tel. +31 40 2 43 20 65 fax. +31 40 2 44 21 86 http://www.bowtie.nl ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message