Re: [TECH TOPIC] Rust for Linux

Leon Romanovsky
2021-07-07T04:57:46Z

On Tue, Jul 06, 2021 at 11:50:51PM +0200, Miguel Ojeda wrote:
> On Tue, Jul 6, 2021 at 10:47 PM Sasha Levin <sashal@kernel.org> wrote:

<...>

> > That's quite an ask. If the driver work goes in and I want to touch the
> > driver API, I need to get Greg KH to write code for me?
>
> I have not said that, and that obviously that does not scale. I am
> just stating what I think could help everyone during the transition
> period, assuming we share a common goal and accept Rust into the
> kernel.

I suggest to go one step further and loose expectation/requirement of
"you break, you fix" rule for the Rust code.

Any developer who does refactoring outside of the Rust-enabled subsystem
can simply leave that subsystem broken and relevant maintainers will fix
it later if they want.

We did it with staging in the fun days when Lustre was in the tree.
https://lore.kernel.org/linux-rdma/20150813055450.GA19344@infradead.org/
https://lore.kernel.org/linux-rdma/20150807141929.GA12442@infradead.org/

Thanks

>
> Cheers,
> Miguel