Home Linux KernelRust In Linux Kernel: Christoph Hellwig Steps Down As DMA Maintainer

Rust In Linux Kernel: Christoph Hellwig Steps Down As DMA Maintainer

By sk
1.8K views 3 mins read

Christoph Hellwig has stepped down as the maintainer of the DMA mapping subsystem, with Marek Szyprowski taking over. This change comes amid ongoing debates and tensions surrounding the integration of the Rust programming language into the Linux kernel.

Hellwig's resignation as the maintainer of the DMA-mapping tree is reflected in an update to the MAINTAINERS file, where Marek Szyprowski is now listed as the maintainer.

Christoph Hellwig's resignation as the maintainer of the DMA-mapping tree
Christoph Hellwig's resignation as the maintainer of the DMA-mapping tree

If you've followed the discussions around Rust's integration into the Linux kernel, you likely understand the reasons behind Hellwig's resignation. For those unfamiliar, here's a detailed breakdown of the situation.

The Rust Integration Debate

Christoph Hellwig, a long-time and highly respected Linux kernel developer, was the maintainer of the DMA (Direct Memory Access) mapping subsystem and several other kernel areas.

He raised concerns about introducing Rust, particularly regarding cross-language complexity and its impact on the DMA subsystem. Hellwig feared that C code called from Rust would become significantly harder to modify in the future.

Linus Torvalds responded to Hellwig's objections, asserting that maintainers do not have the authority to control who uses their code and that Hellwig was wrong to block the Rust code. Torvalds emphasized that the pull request in question did not affect the DMA layer at all.

In a reply on the kernel mailing list, Torvalds stated: "If you as a maintainer feel that you control who or what can use your code, YOU ARE WRONG". Torvalds' strong stance indicated his willingness to merge Rust code despite Hellwig's objections.

Greg Kroah-Hartman and others support Rust integration, particularly for new code and drivers, citing its memory safety benefits. Greg KH, author of Linux Kernel in a Nutshell, has also emphasized efforts to clean up C code to ensure compatibility with both C and C++.

This might led Christoph to resign the DMA maintainer position from Linux kernel project.

Community Reaction

Some maintainers viewed Hellwig's actions as obstructive, especially since the Rust code did not directly impact the code he maintained. Conversely, others felt Torvalds could have handled the situation more diplomatically earlier to prevent escalation.

The controversy sparked broader discussions about maintainers' responsibilities, the role of social media in kernel development, and the balance between technical concerns and community dynamics. The fallout also led to burnout and departures among some individuals involved in the Rust for Linux project.

The Rust for Linux project has established guidelines for integrating and maintaining Rust code within the kernel, including a policy that prohibits changes known to break the build.

The Kernel Moves Forward

Despite the drama, the Linux kernel continues to evolve. Marek Szyprowski has taken over the DMA-mapping tree, and the plan to introduce Rust remains on track, with a focus on a gradual, subsystem-specific approach.

Greg Kroah-Hartman also supports this direction and encourages collaboration between C and Rust developers.

It will be interesting to see how this all plays out in the long run. Will Rust become a mainstay in the kernel? Will the community find a way to bridge the divide? Only time will tell.

Related Read:

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More