From owner-freebsd-hackers Sun Dec 30 18:36:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id AF77D37B416; Sun, 30 Dec 2001 18:36:32 -0800 (PST) Received: from dialup-209.245.132.248.dial1.sanjose1.level3.net ([209.245.132.248] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16KsJT-0005Yu-00; Sun, 30 Dec 2001 18:36:32 -0800 Message-ID: <3C2FCF32.5C77105E@mindspring.com> Date: Sun, 30 Dec 2001 18:36:34 -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: Mike Smith Cc: Alfred Perlstein , hackers@freebsd.org, alc@freebsd.org, tegge@freebsd.org, jlemon@freebsd.org Subject: Re: loadable aio References: <200112281848.fBSImKF13265@mass.dis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mike Smith wrote: > > I've done most of the gruntwork of making AIO a loadable system. > > > > I'd appreciate some feedback and testing, especially since I know > > of no programs which use AIO. > > Where's the demand-load of the aio module? Are you going to trap ENOSYS > in the libc side of things? Please, no. There is so much "goo" around the module loading these days; there are incursions into "mount" and all sorts of other programs that should not know about module loading. Either load it by hand/at startup, or generalize the mechanism by adding a data page to modules to describe what they provide, and then present default fault handlers for the classes of services so that the kernel can do the demand-loading (if necessary). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message