Re: [TECH TOPIC] Rust for Linux

Sasha Levin
2021-07-06T15:02:00Z

On Tue, Jul 06, 2021 at 04:55:56PM +0200, Miguel Ojeda wrote:
>On Tue, Jul 6, 2021 at 12:20 PM James Bottomley
>> 3. Less review: The lack of kernel programmers understanding rust
>> hampers reviewing. Since most of our CVE type problems are usually
>> programming mistakes nowadays, the lack of review could contribute to
>> an increase in programming fault type bugs which aren't forbidden by
>> the safer memory model.
>
>Yes, this is a fair point. Initially, our plan is to work with
>subsystem maintainers that do want to start providing a Rust API for
>their subsystem. Then they can maintain drivers using such API.
>
>We definitely do not want to have drivers written for a particular
>subsystem if nobody is able to review (or even write) the Rust
>abstractions for that particular subsystem.

How do you see this working on the -stable side of things? It's hard
enough to get review for C code, the amount of people who would do a
second review in the context of a -stable release would be non-existant.

--
Thanks,
Sasha