From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 28 09:36:58 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org 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 5891D16A4DA for ; Fri, 28 Jul 2006 09:36:58 +0000 (UTC) (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 89CFB43D45 for ; Fri, 28 Jul 2006 09:36:56 +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.7/8.13.7) with ESMTP id k6S9aoQO032495 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 28 Jul 2006 11:36:50 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.7/8.13.3/Submit) id k6S9alGq032494; Fri, 28 Jul 2006 11:36:47 +0200 (CEST) Date: Fri, 28 Jul 2006 11:36:47 +0200 From: Divacky Roman To: Intron Message-ID: <20060728093647.GA32168@stud.fit.vutbr.cz> References: <1153994127.11460@origin.intron.ac> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1153994127.11460@origin.intron.ac> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: alexander@leidinger.net, freebsd-emulation@freebsd.org Subject: Re: My Linux AIO Implementation Calling for Test 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: Fri, 28 Jul 2006 09:36:58 -0000 On Thu, Jul 27, 2006 at 05:44:01PM +0800, Intron wrote: > Download: http://ftp.intron.ac/tmp/linux_aio-20060727.tar.bz2 > > Based on FreeBSD aio(4), my patch set has implemented 5 system calls > of Linux Asynchronous Input/Output: io_setup(2), io_destroy(2), > io_getevents(2), io_submit(2) and io_cancel(2). It only works with > 7.0-CURRENT. havent studied details but here are my suggestions: 1) please conform to style(9) 2) please use LMSG, ARGS macros to be conform with the rest of the linuxolator 3) why do you use uma directly? linuxolator uses malloc from within M_LINUX. I personally dont mind using uma zone directly but if there is a reason for it. thnx for your contribution! roman