3 ms·
Putting the mappings in the driver that needs them has no effect on the maintainability of the kernel. Putting them in the kernel has an effect if the maintain
by matt3210 2y ago
Putting the mappings in the driver that needs them has no effect on the maintainability of the kernel.
Putting them in the kernel has an effect if the maintainability of the kernel.
- AlotOfReading 2y agoThe kernel maintains in-tree drivers that break, so it does impact kernel maintenance. This isn't currently true for RfL, but in the case of a C driver anyone who wanted to go and make a breaking change would have to go and fix up breakages to merge.
- Dagonfly 2y agoNitpick: There are actually a handful Rust drivers in-tree, e.g. https://github.com/torvalds/linux/blob/master/drivers/net/phy/ax88796b_rust.rs https://github.com/torvalds/linux/blob/master/drivers/net/ph... Though, I think all of them are direct ports of existing drivers.
- superb_dev 2y agoIf it’s a common abstraction then wouldn’t it be more work to maintain the same piece of code in many different drivers?