Software

OSes

'Key kernel maintainers' still back Rust in the Linux kernel, despite the doubters

Rustaceans could just wait for unwelcoming C coders to slowly SIGQUIT...


The Rust for Linux project is alive and well, despite suggestions to the contrary, even if not every Linux kernel maintainer is an ally.

On Sunday, Miguel Ojeda, who leads Rust for Linux and contributes to Linux kernel maintenance, published a "Rust kernel policy" clarifying the status of efforts to integrate Rust code into the open source kernel's largely C codebase.

The document acknowledges the elephant in the room by posing the question, "Do kernel maintainers support Rust in the kernel?" and answering, "Yes, there are key kernel maintainers that support Rust in the kernel."

We note that "key kernel maintainers" is not the same as "all kernel maintainers."

There has been some doubt that Rust code contributions are welcome in recent weeks. As we reported previously, kernel maintainer Christoph Hellwig pushed back on a patch to help Rust-based device drivers call the direct memory access (DMA) API in the kernel's C-based core. That disagreement spiraled into a standoff that prompted Hector Martin, project lead of Asahi Linux for Arm-based Apple Macs, to seek the intervention of Linux Übermensch and namesake Linus Torvalds.

Martin argued that if the disputed DMA patch isn't adopted, "the [Rust for Linux] project is essentially dead until either Linus or Christoph make a move."

Torvalds blamed Martin for turning technical concerns into a social media spectacle – framing the defense of the technological status quo and maintainer workload as a matter best kept above politics. That prompted Martin to quit as the maintainer of the upstream Linux code that supports Apple's Arm-compatible hardware.

Only a few months earlier, Microsoft software engineer Wedson Almeida Filho resigned from the Rust for Linux project due to "nontechnical nonsense," essentially disagreements with C-focused maintainers.

His departure highlighted the ongoing challenges faced by the Rust for Linux project. Before the first bits of Rust code made it into the kernel in late 2022, those advocating for Rust in Linux acknowledged extra work would be required and presented risks. Even so, they argued that the memory safety benefits of Rust – now evangelized for software development throughout government and industry – would pay off in time.

Linux luminaries discuss adding Rust to kernel

FLASHBACK

Amid continued debate, Ojeda's Rust for Linux policy document reaffirms the commitments laid out in the 2021 RFC for adding Rust to the Linux kernel. It also attempts to resolve some of the confusion that has arisen in the wake of the tensions between the Rust and C coders.

In response to a request to comment, Ojeda pointed to a presentation [PDF] he gave earlier this month at European software conference FOSDEM 2025 that highlights the accomplishments of the Rust for Linux project and its ongoing viability.

The presentation includes endorsements and more nuanced statements of support from a handful of kernel maintainers.

Almost inevitable that we will continue to see more Rust code merged upstream

"The enthusiasm from some parts of the kernel community is undeniable, so it seems almost inevitable that we will continue to see more Rust code merged upstream," said Andrea Righi, a Linux kernel engineer with Nvidia, in a statement.

"However, like any big change in the kernel, broader adoption will probably take time."

That's a common sentiment among those offering their thoughts. While resistance to Rust in the Linux kernel can be expected to continue among maintainers of some Linux subsystems, those cited by Ojeda suggest that opposition could ease over time as veteran C maintainers step back and Rust skills become more common. ®

Send us news
44 Comments

Linux royalty backs adoption of Rust for kernel code, says its rise is inevitable

Nobody wants memory bugs. Penguinistas continue debate on how to squish 'em

Mixing Rust and C in Linux likened to cancer by kernel maintainer

Some worry multiple languages will make it harder to maintain this open source uber-project, others disagree

After clash over Rust in Linux, now Asahi lead quits distro, slams Linus' kernel leadership

I fought the Torv and ... the Torv won

'Maybe the problem is you' ... Linus Torvalds wades into Linux kernel Rust driver drama

Open source project chief hits out at 'social media brigading'

Open Source Initiative defends disallowing board candidate after timezone SNAFU

Here's another thing AI can do: Cause conflict around whether it's compatible with the very idea of open source

OBS-tacle course: Fedora and Flathub's Flatpak fiasco sparks repo rumble

Dispute settled, but not the causes

FYI: An appeals court may kill a GNU GPL software license

Defense of FOSS licensing rests on the shoulders of a guy in Virginia

GNOME 48 beta is another nail in X11's coffin

Our first look at the default desktop for Fedora 42 and Ubuntu 'Plucky Puffin'

Even Linus Torvalds can have trouble with autocycle … autocracy… AUTOCOMPLETE!

Penguin Emperor's weekly State Of The Kernel post went astray

Docker delays Hub pull limits by a month, tweaks maximums, stalls storage billing indefinitely

Image fetches to be capped on hourly basis for Personal, unauthenticated use, paid-for plans get unlimited access

The Doom-in-a-PDF dev is back – this time with Linux

What's next, Crysis-in-a-CSV?

KDE Plasma 6.3 released – and 6.3.1 is already here

A year on from the big overhaul of Plasma 6, more functionality appears