From owner-freebsd-current@FreeBSD.ORG Sat Aug 20 10:57:55 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DED1316A41F; Sat, 20 Aug 2005 10:57:55 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 501B043D46; Sat, 20 Aug 2005 10:57:54 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.4/8.13.3) with ESMTP id j7KAvpwd023199 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 20 Aug 2005 12:57:51 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.4/8.13.3/Submit) id j7KAvprf023198; Sat, 20 Aug 2005 12:57:51 +0200 (CEST) Date: Sat, 20 Aug 2005 12:57:51 +0200 From: Divacky Roman To: current@freebsd.org, emulation@freebsd.org Message-ID: <20050820105751.GA23102@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.49 on 147.229.10.14 Cc: Subject: [PATCH]: linuxator _without_ COMPAT_43 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2005 10:57:56 -0000 hi I made a patch which enables linuxator to work without COMPAT_43 option in kernel. Thus we're almost free to remove COMPAT_43 from generic as nothing widespread uses it no more. removing COMPAT_43 has advantage of speeding up the kernel (take a look at gepid() function for example) and removing old code is always good :) the patch itself is a rewrite from old patch from dragonfly (I dont know author so sorry) and it was tested with "chroot /compat/linux /bin/bash; playing" and playing video with realplay - both worked as expected. the test was done on UP/i386 so I'd appreciate some testing on SMP etc. it currently supports just i386 but porting it to other archs should be quite easy thnx for suggestions, comments etc roman p.s. pls CC: me as I am not subscribed to emulation@freebsd.org