From owner-freebsd-arch@FreeBSD.ORG Tue Jan 4 03:34:39 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 A4BD1106566B for ; Tue, 4 Jan 2011 03:34:39 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6AAB38FC08 for ; Tue, 4 Jan 2011 03:34:39 +0000 (UTC) Received: by iwn39 with SMTP id 39so14225525iwn.13 for ; Mon, 03 Jan 2011 19:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=0gLGfjJK0njppuSW6AmP2i46GF8KfOt1VtSmAZ/tH5Y=; b=KxkXVRADu+e4ttc5GSrmmGYMiaDUfBv/fLh5iC6lqFqg3rt1muwLvICR3MAg4rHqCy FYVZLYtqvNBKoGceczTIxDzhy9Ab4uJO51hwXQT+spNT+XZll6ozqFWnTITvdGzHcwVg 2Y6eVjaj2pTBTi23arebQEKdywHaqQFQ+cAY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=jTEPdA5OriJUH8QrE5CQMY0vSlrLezjoB2H72iebdVJmcsGnEuFcIxYuKHRoJPtIlr sNKQD4heL5MDVtgkfh5FJ7QES3RVT9oyTDxTexevgqQZ/iQl4BFHagm760SvB55qDphS nKLYGAnwzsv57oxtTIg3gwpk+cVKFeFChuVKQ= MIME-Version: 1.0 Received: by 10.231.37.129 with SMTP id x1mr5165703ibd.1.1294112078771; Mon, 03 Jan 2011 19:34:38 -0800 (PST) Sender: mdf356@gmail.com Received: by 10.231.172.69 with HTTP; Mon, 3 Jan 2011 19:34:38 -0800 (PST) In-Reply-To: <20110103220153.69cf59e0@kan.dnsalias.net> References: <20110103220153.69cf59e0@kan.dnsalias.net> Date: Mon, 3 Jan 2011 19:34:38 -0800 X-Google-Sender-Auth: FIXk8oMVtCIANg9XrZD28lHiVYc Message-ID: From: mdf@FreeBSD.org To: Alexander Kabaev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Tue, 04 Jan 2011 03:34:39 -0000 On Mon, Jan 3, 2011 at 7:01 PM, Alexander Kabaev wrote: > On Mon, 3 Jan 2011 10:31:24 -1000 (HST) > Jeff Roberson wrote: >> >> The infiniband port has been done by creating a 10,000 line KPI >> compatability layer. =A0With this layer the vast majority of the driver >> code runs unmodified. =A0The exceptions are anything that interfaces >> with skbs and most of the code that deals with network interfaces. > > This probably will go against popular opinion here, but having 10k > linux emulation layer that _almost_ work in the tree will be an > unfortunate event and will do more damage to FreeBSD as a platform than > good in the long run. I would rather see this code never hit main > repository. I don't agree or disagree with this opinion yet, but I would like some detail on why you think it would be unfortunate and do damage to FreeBSD. That's a pretty loaded statement and I believe it deserves fleshing out. Specifically, I can't tell if you're saying that the problem is that the layer almost works (for some value of almost...) and if it would be okay if the layer "worked" (for some value of works). Thanks, matthew