Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5651599pxv; Wed, 7 Jul 2021 08:39:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8S/2Zv2Di36sSuQsEqc9vAZUR0l13Yak3pYI1HvtN5kEMVl7jMRNb2mLAHiPjBF5+ETlH X-Received: by 2002:a17:907:94d5:: with SMTP id dn21mr23995648ejc.124.1625672344667; Wed, 07 Jul 2021 08:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625672344; cv=none; d=google.com; s=arc-20160816; b=Vn1g1gb1GTt9Tnn8/UMUJApTHkT7ZfTXlPbYj6H7ytQ9WBiT3E4L3Ol9PxxfE0jBqW Yh6AxXB9P3nKoQa70QWQnKGUWtyxMmav9nynMzV1T/iuaqMYD7JeeyGy9EgdWtsAZ4ZJ ad2sYhkxl8dK339GOjGFZd8hs1WRBIMSFczebbmDZ7BwS3/W3cBjw9M/Fe04hCG82Uy4 OLHvErvP0YVUvbqt7RjqypVrh1YW7cxxk/+QLB/J8vF0AA8t1EhJsC4cww3qBhsjTpAh Vqr9bLad3x/jH9dmvV3MrK1Whxu9TK+E9JCmPD/oyQziKb1AsQnRchR/IHghvvdoJOCB q3rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZgIPu6J6IMrITSyGQP42FXJTAYXwWFlX58X3k28hV1o=; b=DU/VhMDdI1NWN7VaacMygXEmQUwPwpGG78pVRqb5KHnMFe7kM7SDCDcGMv6vb4Ypnp eejceG4Rc/KcZ1fi7fCZi6IoZSZlV3zSJ60RzRP89peKITx7OoEpf6CQv4TBqSrcYimy 7n+0Jw1RHtPUeZnN+WMFKMWpZyJd1BrP5Q2KlxEnvplyZFNAZxtB3kbvbi9tYGJ6Ak46 9s5dhtkHL+yufIkOsNF92YpNVhwPknbLlP79UVXcvlIr2vxoFwMIygHptrUuuto6pGpR zYtyHbCN3O6b+2TIpCLso2wz6RMYHhSHYosA1J10PhJcYAJBlhBIjIVcT36mBVGpuRwP /0jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sp6UbCh6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d21si14440873edp.351.2021.07.07.08.38.41; Wed, 07 Jul 2021 08:39:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=sp6UbCh6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232238AbhGGPEv (ORCPT + 99 others); Wed, 7 Jul 2021 11:04:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:34576 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232200AbhGGPEs (ORCPT ); Wed, 7 Jul 2021 11:04:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A661661CB2; Wed, 7 Jul 2021 15:02:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1625670128; bh=iUEaNmD1G8AtYx+9qSBK4uhIyEmiUz6skAmuZSeVgAM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sp6UbCh6nuEdb2cILd/CA2SPHg0uGN334YlbJyyqdk6XGHIQYJZixCWrMxOInyLan /a6PWp2pdC4IhVmnGnkMK6VceFklJVCQY9rdoXdElqUdEG8uIpB+TzIU60tz4OPxO2 z0ICeTzdVmDeliK8N1DIbIM9rLzJUOzPogoCnZvQ= Date: Wed, 7 Jul 2021 17:02:04 +0200 From: Greg Kroah-Hartman To: Wedson Almeida Filho Cc: Miguel Ojeda , Christoph Hellwig , Miguel Ojeda , Linus Torvalds , rust-for-linux , Linux Kbuild mailing list , Linux Doc Mailing List , linux-kernel Subject: Re: [PATCH 00/17] Rust support Message-ID: References: <20210704202756.29107-1-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 07, 2021 at 03:07:50PM +0100, Wedson Almeida Filho wrote: > > Last I looked at this thing, it was not > > feature-complete compared to the in-kernel binder code, has that been > > resolved and the needed filesystem changes added? > > It is not feature-complete in comparison to the C one just yet, it is missing a > few things but not for any fundamental reason -- we were mostly focusing on the > kernel crate and tests. I love it how you call "binderfs is missing" a "few things" :) > Miguel's point is that it does implement the vast majority of binder features > and is non-trivial, so it could be used as evidence that useful kernel drivers > can be built with Rust; not just "transpiled" from C, but written with the Rust > safety guarantees. As Christoph said, and I and others have said before, binder is in no way shape or form anything that resembles any sort of "driver" at all. It is a crazy IPC mechanism that is tacked onto the side of the kernel. Not to say that it doesn't have its usages, but the interactions between binder and the rest of the kernel are very small and specific. Something that almost no one else will ever write again. Please work on a real driver to help prove, or disprove, that this all is going to be able to work properly. There are huge unanswered questions that need to be resolved that you will run into when you do such a thing. Good luck! greg k-h