From owner-freebsd-arch@FreeBSD.ORG Wed Jan 5 09:56:19 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14F18106566C for ; Wed, 5 Jan 2011 09:56:19 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F3C218FC08; Wed, 5 Jan 2011 09:56:18 +0000 (UTC) Received: from xyf.my.dom (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p059uHNJ050039; Wed, 5 Jan 2011 09:56:18 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4D244042.4010004@freebsd.org> Date: Wed, 05 Jan 2011 17:56:18 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.24 (X11/20100630) MIME-Version: 1.0 To: Alexander Leidinger References: <20110103220153.69cf59e0@kan.dnsalias.net> <20110104082252.45bb5e7f@kan.dnsalias.net> <4D23A2CF.1010904@freebsd.org> <20110105100452.16086vb1bb08xcco@webmail.leidinger.net> In-Reply-To: <20110105100452.16086vb1bb08xcco@webmail.leidinger.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org Subject: Re: Linux kernel compatability X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 09:56:19 -0000 Alexander Leidinger wrote: > Quoting Jeff Roberson (from Tue, 4 Jan 2011 > 13:13:00 -1000 (HST)): > >> After this discussion I'm leaning towards leaving the layer I have in >> the ofed/ directory and leaving it tied to the version of ofed we >> currently have imported. > > To give you one more little argument in favour of this: copies in SVN > are cheap. If there is the need to have the compat shim available for > something else, it can be put into another place later. > > On a somewhat related area: now that you've done this huge compat work > you have a very good idea which parts correspond to what in the other > OS. It would be great if this could be documented somewhere (wiki?) in a > way that people which are interested to write a FreeBSD native driver > just need to have a look at some pages to be able to see what linux > stuff they have to change in which way to get a big part of the porting > covered. IMO this would also help in reviewing and verifying the > correctness of your current work (and as such would be beneficial to the > sponsors of this work), as people could see if you missed some semantic > differences or overlooked some implicit assumptions. > > Bye, > Alexander. > This is still uncertain, the patch is so large, I don't know who will review it, the person who has ability to review it must know Linux locking and OFED very well ? plus few of us are using OFED. Just like my process shared pthread mutex project, few of us are using the pshared mutex, so it seems nobody wants to make a comment.