VOOZH about

URL: https://www.phoronix.com/news/Rust-Linux-6.18

⇱ A Lot Of Rust Code Lining Up For The Linux 6.18 Kernel - Phoronix


👁 Phoronix

A Lot Of Rust Code Lining Up For The Linux 6.18 Kernel

Written by Michael Larabel in Programming on 29 September 2025 at 02:00 AM EDT. 51 Comments
While the Linux 6.18 kernel merge window is just getting formally started following yesterday's Linux 6.17 release, one thing is already quite clear: there is a a lot of new Rust programming language code set to head into Linux 6.18.

A number of early pull requests were submitted in advance of the Linux 6.18 merge window formally opening, including several specifically enhancing the kernel's Rust programming language opportunities.

👁 Rusty Tux


Those early pull requests included Miguel Ojeda submitting the main Rust pull. Rust in Linux 6.18 will now derive "zeroable" for all structs and unions generated by bindgen where possible, the kernel crate adds a "ptr" module with an "Alignment" type, continued efforts in using the Rust standard library, and various other additions.

The driver core pull request was also submitted already and it is dominated by Rust changes. New Rust code there is for DebugFS support for simple read/write files and custom callbacks, an io::poll module, support for threaded and non-threaded device IRQs, a number of new PCI additions, sysfs integration enhancements, and various other Rust driver changes.

The locking pull request meanwhile adds initial support for generic LKMM atomic variables in Rust. Plus a refcount_t wrapper in Rust. As noted a few weeks back, this allows Rust and C code to use the same memory model moving forward.

Plus there is more Rust code expected from the DRM subsystem and other pull requests to be submitted over the next two weeks.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.