5–7 Oct 2026
Europe/Prague timezone

Using Rust for out-of-tree kernel drivers

7 Oct 2026, 12:20
20m
"Club E" (Prague Congress Centre)

"Club E"

Prague Congress Centre

128
Rust MC Rust MC

Speaker

Alice Ryhl (Google)

Description

Rust is expanding into more and more places, and it's becoming clear that Rust creates some unique challenges when it comes to drivers that are out-of-tree.

Like all other Rust drivers, out-of-tree drivers written in Rust require abstractions for the subsystems they interact with. If the driver requires a subsystem that does not yet have abstractions, or if the abstractions exist but are missing some part of the API, then the driver may have to implement the abstraction directly within the driver. However, it can be tricky to implement abstractions (or extend existing abstractions) from outside of the kernel crate.

In this topic I would like to discuss approaches for tackling these issues, and also discuss ways in which we are unnecessarily making it more difficult to extend abstractions from drivers.

Author

Alice Ryhl (Google)

Presentation materials

There are no materials yet.