Conversation

But again, I don't think that's useful or actionable information. A better "result" would be recognizing that the C language is a large source of issues and figuring out ways to help the kernel migrate away from it. There are people working in better faith on those slns.
2
Rust is perfectly suitable for writing Linux kernel code. The biggest barrier is not building the infrastructure for it. It's convincing them to accept it and start using it at all. It doesn't need language changes for it. Problems raised there already have available solutions.
1
Similarly, they could choose to start using isolated code. The infrastructure for that was already partially built already. Good luck convincing them to accept even tiny performance and code size costs for it though, or even that it's a safer and more reliable architecture...
1
Some of the most important kernel maintainers will happily argue that C is the safest language to use and a monolithic kernel design is safer because it doesn't have the complexity of isolation and messaging passing. I'm not presenting strawman arguments. They say that stuff.
1
3
They often argue against optional attack surface reduction, useful mitigations, etc. and come up with ways to deride work on improving reliability and security. Peter rejected support for letting non-root users using perf events, despite it being adopted by Android, Debian, etc.
1
1
He's often there deriding that kind of work, and is often in a position where he can reject it himself or sabotage it. That's what people are dealing with. He's hardly the only example. Linus himself often does the same stuff, but at least he acknowledges a lot of the problems.
1
1
These are cultural issues worth discussing. I don’t think the UMN study or anything like it moves the needly here. If rust is impactful (I suspect it would largely be), the way to move that needle is by making it easy to adopt, proofs of concept, etc.
1