[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c3a56770-d483-409a-8586-610ce6a718e7@gmail.com>
Date: Mon, 3 Feb 2025 10:17:22 +0200
From: Abdiel Janulgue <abdiel.janulgue@...il.com>
To: Christoph Hellwig <hch@....de>, Danilo Krummrich <dakr@...nel.org>
Cc: Greg KH <gregkh@...uxfoundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Miguel Ojeda <miguel.ojeda.sandonis@...il.com>,
daniel.almeida@...labora.com, aliceryhl@...gle.com, robin.murphy@....com,
rust-for-linux@...r.kernel.org, Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>, Trevor Gross <tmgross@...ch.edu>,
Valentin Obst <kernel@...entinobst.de>,
open list <linux-kernel@...r.kernel.org>,
Marek Szyprowski <m.szyprowski@...sung.com>, airlied@...hat.com,
"open list:DMA MAPPING HELPERS" <iommu@...ts.linux.dev>
Subject: Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.
Hi,
On 31/01/2025 09:57, Christoph Hellwig wrote:
>
> Which doesn't help me a bit. Every additional bit that the another
> language creeps in drastically reduces the maintainability of the kernel
> as an integrated project. The only reason Linux managed to survive so
> long is by not having internal boundaries, and adding another language
> complely breaks this. You might not like my answer, but I will do
> everything I can do to stop this. This is NOT because I hate Rust.
> While not my favourite language it's definitively one of the best new
> ones and I encourage people to use it for new projects where it fits.
> I do not want it anywhere near a huge C code base that I need to
> maintain.
>
I do acknowledge your reservations about the possible maintenance burden
due to the introduction of a rust (or another language) consumer of the
dma-api. But I was hoping that we could arrive at some sort of common
ground?
If this rust middle-layer abstraction is unacceptable to you, could you
perhaps suggest a solution so that all rust device driver don’t end up
with redundant dma coherent allocator rust code? Could the rust team do
something about it?
Thanks,
Abdiel
Powered by blists - more mailing lists