From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A32C2C02198 for ; Mon, 10 Feb 2025 10:24:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 22B6710E4E0; Mon, 10 Feb 2025 10:24:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="NnxyMAmp"; dkim-atps=neutral Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0512610E4E0 for ; Mon, 10 Feb 2025 10:24:16 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 8FF32A40FB2; Mon, 10 Feb 2025 10:22:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A394C4CED1; Mon, 10 Feb 2025 10:24:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739183054; bh=TctaVDweRinYvOUGBU0wd63UFzTDTBKv9BZiXXpCc9w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NnxyMAmpYjpQViak815nMD2Q3JlAq3Zygy6vwbdlyHRtFyRXPpB1asssv+q0Mvih7 oSBdssa6nD+bGnMOfNizXItRLhGFMDW1fW+CI71oiYb9B0XlsQMQJAbaHTfTjPTKSB mDqzPt0uRQrhgO9SSroduw8+Z54KwVIhOdCjD7MY5R5JiRBpMlisy6U287QhtJz+0L hDx5R4iSMxs5sBxIJPwJHTR/Ul/38Vpz0CsQ5Jtn/34njFOOa8TPOQVeTwC9tqXV0D FpHnUhjyTVwyzX0AhbV1dhTNfXSBnSkYsMYKRHGAf6J1wTp/j/2YYs0juHoa/Rsd+G hS69W013Cv/1A== Date: Mon, 10 Feb 2025 11:24:06 +0100 From: Danilo Krummrich To: Icenowy Zheng Cc: Hector Martin , Steven Rostedt , "Dr. Greg" , Linus Torvalds , Dave Airlie , Jason Gunthorpe , Greg KH , phasta@kernel.org, Christoph Hellwig , Miguel Ojeda , Abdiel Janulgue , daniel.almeida@collabora.com, aliceryhl@google.com, robin.murphy@arm.com, rust-for-linux@vger.kernel.org, Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , Bj??rn Roy Baron , Benno Lossin , Andreas Hindborg , Trevor Gross , Valentin Obst , open list , Marek Szyprowski , airlied@redhat.com, "open list:DMA MAPPING HELPERS" , DRI Development Subject: Re: On community influencing (was Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.) Message-ID: References: <20250131135421.GO5556@nvidia.com> <2b9b75d1-eb8e-494a-b05f-59f75c92e6ae@marcan.st> <208e1fc3-cfc3-4a26-98c3-a48ab35bb9db@marcan.st> <20250207121638.GA7356@wind.enjellic.com> <1e8452ab-613a-4c85-adc0-0c4a293dbf50@marcan.st> <07c447b77bdac1f8ade1f93456f853f89d4842ee.camel@icenowy.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07c447b77bdac1f8ade1f93456f853f89d4842ee.camel@icenowy.me> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Feb 10, 2025 at 05:41:30PM +0800, Icenowy Zheng wrote: > Furtherly, the monorepo nature of Linux kernel means to refactor an > interface, it's usually the person changing the callee that need to > change all callers to satify the interface change; having Rust code in > tree calling the interface effectively means adding the responsibility > of fixing the Rust code when the interface changes, which could be not > acceptable by the C-only maintainers. In regards of adding a > maintainer, having more maintainers means more communication. This is exactly the same as for every new driver / component, regardless of whether it is written in C or in Rust. It is absolutely common that driver maintainers help with integrating core API changes, if necessary. I don't see why the same process should not work for Rust abstractions. (Additionally, in this particular case even one of the reviewers of DMA MAPPING HELPERS offered to be a reviewer of the Rust abstractions too, in order to keep eye on the DMA API angle.)