Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp358933pxb; Wed, 14 Apr 2021 17:46:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYSjfwAkiiRfSpUgBiah78gAGosX8Rv3P8IzkrrN2jc4XxbsDVDSijSmxx0uBwx3HpzKuT X-Received: by 2002:a17:907:3e92:: with SMTP id hs18mr739230ejc.396.1618447601327; Wed, 14 Apr 2021 17:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618447601; cv=none; d=google.com; s=arc-20160816; b=X+JUGlMAH8jyif+41QzuwpaODSsMFicNh6BW0fhlHc1Uz8P+jy+gnejXbqHst6oonl Dx+HBIHmP9FBZa5QEZV9M4o18dhxvlubS4JinTvyHbcOAjbSowKJvD5NSCsoM8WYzxx5 PoPeD6+ZKtMENgc6A2EFMH7DHFoKGdWPGjB/XrLZeEiqxYU3dqZLf94Y4gnZhqyfPcRm Wog4Dbai9FTMZan6u7Gs6hCtQWdwtbsbDa728D/5PlKI2tPPWLTPMKg8cwEgwfGTUC7q nxwp7yGHtUfoyGcYx4CsDmIgYT6jKXg9Lhqc4LRY4fmWqn9LQQDN9a8Jx/WOvMIk0VFr 58rw== 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=9x8ZktEIhCV4MzTWeStYBsK6n6m34DEopr5z7vUMvHw=; b=s+y3mNYLqcxu1weRcRmMYvIeff1gbb27gCCljsAZHz6GN+IFctAmJg2WWJNKcQ1XHD zi7Ps8hVXIOxDfj40pwL93izdxSW8MGx747Yq7GUEEoHCkbuu6JBjWkp9GZiff1E4bTf PyvVFD4ojgloijkUu1GF5tylu2HfJQ6kPaRPYNYer+tb3f2C7ybJfBI1H+s71EqCPQaT 50T+JImrgCYDVzyATIuj/Zv5O0rro+jWbxO8wdWFF8Rs0DgsIn/hRy8Yrk669AmpIGrg PE9snrx5SIoYvUr11tsfI4OTBBMb3PfrTeo0lG5DpxfZF4xLHOi1azizfwEAig+SaWYt ByXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MTSZcQCa; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i21si757831ejg.243.2021.04.14.17.46.17; Wed, 14 Apr 2021 17:46:41 -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=@infradead.org header.s=casper.20170209 header.b=MTSZcQCa; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353494AbhDNTue (ORCPT + 99 others); Wed, 14 Apr 2021 15:50:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238322AbhDNTud (ORCPT ); Wed, 14 Apr 2021 15:50:33 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66895C061574; Wed, 14 Apr 2021 12:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=9x8ZktEIhCV4MzTWeStYBsK6n6m34DEopr5z7vUMvHw=; b=MTSZcQCacVdZrR1zQHVjZ2cPxi lmKJXhSHXifSlLX98ydPQNQ27BfOPFgV80+gbeoCIZ3Qu8mQ2vy4qrnd9sLq8KrIwRXr2VY8NHAtv WoufI/4CPmS47JD5+VgkLaz9WGtneiKoRk6eVhX3qqhvvlHTJP04fU7m8MLh/7GBJ/2b1mwmqgXRB NHVubNIEqM580OPz6Qvqy0tzyN3h+kQ+t0xrQdO7WuGPXCzkb5mdzd3I9Yz1sU4LfZzSJHN/nCjOY XaMY4ZyW5QHWcvCU8Js3VDtZfgKDwjkvuXbdGHiRuCiF9ufZb7661gyOQmsWcEJXIug/D7M1pmZy7 vkZE7uzA==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lWlWE-007YZ2-36; Wed, 14 Apr 2021 19:49:52 +0000 Date: Wed, 14 Apr 2021 20:49:46 +0100 From: Matthew Wilcox To: Miguel Ojeda Cc: Linus Torvalds , Miguel Ojeda , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, Linux Kbuild mailing list , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Alex Gaynor , Geoffrey Thomas , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho Subject: Re: [PATCH 09/13] Samples: Rust examples Message-ID: <20210414194946.GW2531743@casper.infradead.org> References: <20210414184604.23473-1-ojeda@kernel.org> <20210414184604.23473-10-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, Apr 14, 2021 at 09:42:26PM +0200, Miguel Ojeda wrote: > On Wed, Apr 14, 2021 at 9:34 PM Linus Torvalds > wrote: > > > > Honestly, I'd like to see a real example. This is fine for testing, > > but I'd like to see something a bit more real, and a bit less special > > than the Android "binder" WIP that comes a few patches later. > > > > Would there be some kind of real driver or something that people could > > use as a example of a real piece of code that actually does something > > meaningful? > > Yeah, we are planning to write a couple of drivers that talk to actual > hardware. Not sure which ones we will do, but we will have them > written. I'd suggest NVMe as a target. It's readily available, both as real hardware and in (eg) qemu. The spec is freely available, and most devices come pretty close to conforming to the spec until you start to push hard at the edges. Also then you can do performance tests and see where you might want to focus performance efforts.