From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C54C1168 for ; Wed, 7 Jul 2021 15:48:41 +0000 (UTC) Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DAFD661CBF; Wed, 7 Jul 2021 15:48:40 +0000 (UTC) Date: Wed, 7 Jul 2021 11:48:34 -0400 From: Steven Rostedt To: Miguel Ojeda Cc: ksummit@lists.linux.dev Subject: Re: [TECH TOPIC] Rust for Linux Message-ID: <20210707114834.64037813@oasis.local.home> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: ksummit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 26 Jun 2021 00:09:00 +0200 Miguel Ojeda wrote: > The Rust for Linux project is adding support for the Rust language to > the Linux kernel. This talk describes the work done so far and also > serves as an introduction for other kernel developers interested in > using Rust in the kernel. > > It covers: > > - A quick introduction of the Rust language within the context of the kernel. > - How Rust support works in the kernel: overall infrastructure, > compilation model, the standard library (`core` and `alloc`), etc. > - How Documentation for Rust code looks like. > - Testing Rust code (unit tests and self tests). > - Overview of tooling (e.g. compiler as a library, custom linters, Miri, etc.). > - Explanation of coding guidelines (e.g. automatic formatting) and > policies we follow (e.g. the `SAFETY` comments). > - How kernel driver code looks like in Rust. [ Starting at the OP of the thread as this is a different topic ] BTW, does rust support "fentry/mcount" code? If not, that means ftrace (and all the hooks we have inside the kernel) are not going to be able to use it? That's one big "notrace" across all drivers that implement Rust? -- Steve