From owner-freebsd-drivers@FreeBSD.ORG Sat Jun 23 20:03:17 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B6F916A400 for ; Sat, 23 Jun 2007 20:03:17 +0000 (UTC) (envelope-from die.gestalt@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 5755413C46E for ; Sat, 23 Jun 2007 20:03:15 +0000 (UTC) (envelope-from die.gestalt@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1007660pyb for ; Sat, 23 Jun 2007 13:03:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=JiA22DFjml1/PK8zVYTnOgOsW6fq6cDShpoD45GOIGN2up2FfcN0aqoRbXtG0jujdSmaFKteWi0PmT6pUjECJGtdH2OUZY1vhzbCSWXuBuiTKoG0t7bHCfA6tVv9VZB8Y1hg8NWOnItLm7jedm7Dy7jKwd56+MJn63QCUJzmlk0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sT6+UhO8uIhXV0CPMV92XTxdPAkypCZPAmG331a5oxuI7ZOQoudM+GalnxvRMnXQFHjjK6UlRYiXS3XbRQ8jY1FAl1TVBjgWlzOQ5D2OXaLbuW1+CdNxULjtmLzd0oBJDJl0FXmwNmB4lFW6K81tXdi5IPOdWYqTtnDWyuxVjT4= Received: by 10.65.254.5 with SMTP id g5mr7432004qbs.1182628994354; Sat, 23 Jun 2007 13:03:14 -0700 (PDT) Received: by 10.64.180.9 with HTTP; Sat, 23 Jun 2007 13:03:14 -0700 (PDT) Message-ID: <5bf3e10d0706231303q5c7f7128r8a0f82310f5bb7ad@mail.gmail.com> Date: Sat, 23 Jun 2007 22:03:14 +0200 From: "Die Gestalt" To: alfred@freebsd.org, freebsd-drivers@freebsd.org In-Reply-To: <20070623182130.GE55189@elvis.mu.org> MIME-Version: 1.0 References: <86veetgnk4.fsf@dwp.des.no> <5bf3e10d0705221130t222b80b5w64a4e446b04d6029@mail.gmail.com> <863b1nvqqa.fsf@dwp.des.no> <5bf3e10d0705230314w3038a532uf0d8c0ed18a5d05f@mail.gmail.com> <5bf3e10d0705240839x17792a96hf17e6eebfa5a83da@mail.gmail.com> <5bf3e10d0705241345t11e739we0b896bab868fec6@mail.gmail.com> <5bf3e10d0706010709yab08f21s256cb894118d3bf4@mail.gmail.com> <5bf3e10d0706040455j2015a2dan685e7e80db66bd95@mail.gmail.com> <5bf3e10d0706220746y1a114792scd1ec59b95ed0ca4@mail.gmail.com> <20070623182130.GE55189@elvis.mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Generic int 13h driver X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2007 20:03:17 -0000 Unlikely in the short term. I made this driver for my employer, I think there might be reluctance about releasing it to the public. On one hand this would most likely increase the quality of the code, on the other hand this might hurt us in helping competition. I know this would be cool since there are people out there who would like this feature. Right now the driver needs to be tested further. The number of machines on which it has been tested is ludicrously small (one virtual machine, one laptop). But anyways the thing that will prevent the driver from ending up in the tree is that my coding style doesn't respect FreeBSD rules (omg!). For the rest the driver correctly interfaces with GEOM via the disk(9) routines and the read and writes are queued in a working thread. On 6/23/07, Alfred Perlstein wrote: > > * Die Gestalt [070622 07:45] wrote: > > w00t the driver is finished! I had to do some obscure things for the > > physical memory, but I made it work. I can mount partitions, etc. do > > whatever. I'll have to do some stress tests though. > > > > It's quite slow, but that's not horrible, around 5 MB/s. However multi > > threaded performance will be horrible because of the lock on physical > > memory. > > > > That could make a nice talk at a BSD conference. ;) > > It'd be even nicer in the tree... will that be possible? > > -- > - Alfred Perlstein >