How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
Posted Sep 17, 2021 9:28 UTC (Fri) by gray_-_wolf (subscriber, #131074)Parent article: The Rust for Linux project
If the other subsystem is (partially) in rust, which you do not know, how would that be handled? If some parts of your patch touch some rust code, but goes via a tree of a maintainers that does not know rust, how should that be handled?
Just to make it clear, I really am just trying to understand how this will (would?) work. These are really obvious questions, so I've likely just overlooked it already being discussed somewhere.
Posted Sep 17, 2021 9:47 UTC (Fri)
by pbonzini (subscriber, #60935)
[Link] (4 responses)
But apart from that, for something such as drivers (which are the initial focus of the project), the cases of patches affecting multiple subsystems are quite rare.
Posted Sep 17, 2021 15:21 UTC (Fri)
by broonie (subscriber, #7078)
[Link] (3 responses)
Posted Sep 17, 2021 15:56 UTC (Fri)
by pbonzini (subscriber, #60935)
[Link] (2 responses)
Posted Sep 18, 2021 8:24 UTC (Sat)
by matthias (subscriber, #94967)
[Link] (1 responses)
Posted Sep 18, 2021 18:32 UTC (Sat)
by broonie (subscriber, #7078)
[Link]
Posted Sep 17, 2021 16:41 UTC (Fri)
by ojeda (subscriber, #143370)
[Link] (1 responses)
No, they don't. At the moment, the Rust side is a client of the C APIs, and thus the modifications to the C side are minimal.
The problem is that, even in this case, if you are doing subsystem or tree-wide changes that change C APIs, and they happen to be used by Rust code, then you would also need to update those.
This is what some kernel maintainers/developers that regularly do those kind of changes are worried about -- they would need to learn Rust fairly soon, which may put a big burden on them. Thus we may need to have a way to smooth things for them (e.g. relaxing the rules, helping them write or review the Rust side of the code, etc.).
Posted Sep 17, 2021 16:58 UTC (Fri)
by ojeda (subscriber, #143370)
[Link]
Ignore this sentence -- I thought you were referring to the Rust changes. For kernel changes in general, yes, some of them change different places in the kernel (the second part of the comment addresses that).
Posted Sep 17, 2021 19:00 UTC (Fri)
by ojeda (subscriber, #143370)
[Link]
No, I don't think you overlooked :) We have talked about these points a few times, but they are still quite open. At LPC next week we will try to have this discussion with more kernel maintainers.
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?
How will cooperation of rust-knowing and not-rust-knowing maintainers look like?