Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1926101lql; Wed, 13 Mar 2024 12:03:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvS9oOBJ+DUKl9Vm1Suc3guthzAFfWBPT1uZH4aey1lwbQBIOCKG8sDQ/RkjXUgeQlR1NYpp1UV9AK53KkidZ5Ift9HD69Z01BMbkQxA== X-Google-Smtp-Source: AGHT+IHaI5hTLg1dfCBpVLAIoaRj3tHoIeyZ7lE9GJQOut7kdI4Clf/1D5VCK7YlbiEB95WzUIlc X-Received: by 2002:a05:6870:f14e:b0:221:8f92:50cd with SMTP id l14-20020a056870f14e00b002218f9250cdmr6103916oac.42.1710356587118; Wed, 13 Mar 2024 12:03:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710356587; cv=pass; d=google.com; s=arc-20160816; b=jO1DrE5XUZdUR1yAq/rbasr5oYCtzX/Qs7e5Ibs6yc6/zQsvOIlbSqBx1yLKiiy1rt ewrpprj1ruVfxuylMWLm+/73d1lGFP1/TIsBV7J5Ojm/VDIwIfODxAb6q0cEa8anj6yW VFWKsnymoTCPTDgBKP1zL/kvYY4wnk1M8rAGyRg21EAL4VKNY0z4+NWhViVqMr+4vUiC Sj0PuCrjdEYqJ8ENouxJXWouX4Tdt7n2od6HbWL6jQfwK1DWElacNwZKZ4VjS2/v2hgP rlxN7sUWpKNgXisvQbsZsvi41EpUvqF9PAZsLPdFp8fDnLsVY6QVQU3AQ5i3yCt0tuhe QT7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3Tg8fUT5dEkstMBRfJXr2xPDXXckp1lHdj52ARSGdMU=; fh=hldwZvFnp1M4whuWFe4ez1KpvTBuR3dtnRDYi357vW0=; b=oQILyHFNg0N3lePPgjgEBAShELTnqMi/WGx9iv2/ARruFZs2d6I+D8G6eOBxK6cY6P pK5ppKW+OPjrpEVLB09/EpIrdYNkOY8ubsJe+eiHBc5QH8ZwkvvfEdQ33uis3T2k9q2G vGWu8CLnGLbHD3GzOrQIljDK0/LgtmSBVia4lfkwI8/f9XicMQLMsdIWKp5bT0J26+GV 7zu2TymWrt7aDh06T887DVGEG0IpOAg+9LUtYUNNwTBdcpwPZ0N7k0zmhZkaAb6Vs4DO ohhxA7+1tbgOC+i9gNUfSa36XgdkbpgQF9pNFRhWUbJf9Fhh4j198DdcY68PhUcZM22j QtjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=PvwJJZIj; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-102331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f13-20020a05622a104d00b0042ef97bd6e2si10382834qte.524.2024.03.13.12.03.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 12:03:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=PvwJJZIj; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-102331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B87181C26230 for ; Wed, 13 Mar 2024 19:02:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 149DC6994B; Wed, 13 Mar 2024 18:02:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="PvwJJZIj" Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (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 AE78D6027E; Wed, 13 Mar 2024 18:02:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710352962; cv=none; b=CK6vWpQhbetw6EJ12Du5Vo41haG1Vd/XVUKbeZuOXznaWMW2UvPI7bsE4hP6WCkTBS08DAF7rfb497w8ljZ6orSq8pvc7oEUEwMLfn1TB7LablZjK2HZXnCgtPMo1WdkNc9ew/Yqghsl9hVLu3LeZG0wrHbhenp1WR1FEz7DNB4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710352962; c=relaxed/simple; bh=3Tg8fUT5dEkstMBRfJXr2xPDXXckp1lHdj52ARSGdMU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RT9g6kTs5seCOJNZ8Ur5ecQBYWq49nx6tfSqKLXKrqKp8OxOQzBr1Dp9s/woXrkLgsYjzcRw6OeXRgBchFViTyBzRvWPLhARJRwAVmFmMRlOCOLOV9kHI6iBEmEPJnaYwIaWp+2dPu9n+fTzzXIJ9C8GC2QtjKk5Z8H3MwbPjp4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=PvwJJZIj; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4Tvyz361VHzlgVnY; Wed, 13 Mar 2024 18:02:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:content-language:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1710352950; x=1712944951; bh=3Tg8fUT5dEkstMBRfJXr2xPD XXckp1lHdj52ARSGdMU=; b=PvwJJZIjCvMkq/ewCWjgMLmM8HhIyK4gdS4/cdCf TOmaaL1p1SxJMi/2QaLRBwgD1nEswS3j9YYxyjAeNQ3OVpwQG3zGC1jo1NHBherD iPwxY/gkZsNl4R20j24tzd4466em3P/kjbPAkNBBtwkStXDYWIQ0Vj/qLjRXB8F5 AU0bBOd+4juYj/jE4mRgkl/uDpiRjrBONjajJXd8GoesjO6rgHnE8xKuQADKj6CL nBngxXvTo9UkOI7gmxIzAXXnpy8igDjcxnnqwbt8I+bhWcyEx9bmJtCSscwS36Hy B9KuAGZif1Of4GVff0o/1MkJJ+mnzUnEt6lVCTgDyevobg== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id ZsLKpM7Fp7Kn; Wed, 13 Mar 2024 18:02:30 +0000 (UTC) Received: from [100.125.77.66] (unknown [104.132.0.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4Tvyyp60GSzlgVnW; Wed, 13 Mar 2024 18:02:26 +0000 (UTC) Message-ID: <855a006d-5afc-4f70-90a9-ec94c0414d4f@acm.org> Date: Wed, 13 Mar 2024 11:02:23 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 0/5] Rust block device driver API and null block driver Content-Language: en-US To: Andreas Hindborg , Jens Axboe , Christoph Hellwig , Keith Busch , Damien Le Moal , Hannes Reinecke , "linux-block@vger.kernel.org" Cc: Andreas Hindborg , Niklas Cassel , Greg KH , Matthew Wilcox , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Alice Ryhl , Chaitanya Kulkarni , Luis Chamberlain , Yexuan Yang <1182282462@bupt.edu.cn>, =?UTF-8?Q?Sergio_Gonz=C3=A1lez_Collado?= , Joel Granados , "Pankaj Raghav (Samsung)" , Daniel Gomez , open list , "rust-for-linux@vger.kernel.org" , "lsf-pc@lists.linux-foundation.org" , "gost.dev@samsung.com" References: <20240313110515.70088-1-nmi@metaspace.dk> From: Bart Van Assche In-Reply-To: <20240313110515.70088-1-nmi@metaspace.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/13/24 04:05, Andreas Hindborg wrote: > This is the second version of the Rust block device driver API and the Rust null > block driver. The context and motivation can be seen in cover letter of the RFC > v1 [1]. If more context is required, a talk about this effort was recorded at > LPC [2]. I hope to be able to discuss this series at LSF this year [3]. Memory safety may land in C++ in the near future (see also https://herbsutter.com/2024/03/). If memory-safe C++ or memory-safe C would be adopted in the kernel, it would allow writing memory-safe drivers without having to add complicated bindings between existing C code and new Rust code. Please do not take this as personal criticism - I appreciate the effort that has been spent on coming up with great Rust bindings for the Linux kernel block layer. Thanks, Bart.