VOOZH about

URL: https://www.phoronix.com/news/Linux-6.19-Rust-Module-Params

⇱ Rust Drivers In Linux 6.19 Will Now Support... Module Parameters - Phoronix


👁 Phoronix

Rust Drivers In Linux 6.19 Will Now Support... Module Parameters

Written by Michael Larabel in Linux Kernel on 7 December 2025 at 06:02 AM EST. 15 Comments
On top of the Rust driver core changes and other Rust code for Linux 6.19, the modules infrastructure for this new kernel version is also bringing some new code. Surprisingly, it's taken until now for Rust kernel modules/drivers to support module parameters as is common practice for passing different options when booting the kernel or manually loading kernel drivers with extra non-default options.

The headline change of the modules update for Linux 6.19 is now supporting Rust module parameters. The Git merge elaborates on the change:
"Add Rust module parameter support, enabling Rust kernel modules to declare and use module parameters. The rust_minimal sample module demonstrates this, and the rust null block driver will be the first to use it in the next cycle. This also adds the Rust module files under the modules subsystem as agreed between the Rust and modules maintainers."

The infrastructure is now in place and some basic Rust code demonstrating module parameter use:

👁 Rust module parameters


A small but necessary feature for Rust kernel drivers to eventually reach feature parity to C kernel drivers.

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.