From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="PvwJJZIj" 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: rust-for-linux@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.