Rust in Linux Kernel: From Experiment to Permanence

Marking a historic shift after the 2025 Kernel Maintainer Summit's approval—detailed in our prior coverage on benchmarks and challenges—Rust is now a permanent fixture in the Linux kernel, with deep roots tracing back to 2019 and ambitious plans ahead.

Discussions on Rust for the kernel ignited in 2019 at the Linux Security Summit, where maintainers noted two-thirds of vulnerabilities arose from memory safety flaws. Rust's features—no undefined behavior in safe code, strict types, and safe/unsafe boundaries—offered a compelling fix.

Momentum built in August 2020 via a Linux Plumbers Conference talk by developers like Miguel Ojeda. Google funded Ojeda full-time in 2021 through the Prossimo initiative. An April 2021 RFC clarified Rust's role: targeting drivers and leaf modules atop the C core, avoiding major rewrites.

At the Tokyo summit, the 'Rust experiment' label was dropped from docs. Ojeda posted on the kernel list: “the experiment is done, i.e. Rust is here to stay.” Not all configs, arches, or toolchains are ready, and work continues on gccrs for GCC kernel builds, with updates expected soon.

Proof points abound: Greg Kroah-Hartman praises Rust drivers' safety and low issues. Android 16 on kernel 6.12 uses a Rust allocator across millions of devices. DRM's Dave Airlie eyes Rust mandates for new drivers in a year.

Looking ahead, kernels will build with Rust from Debian stable, with hard requirements in APT by May 2026. Hurdles remain for arches like s390 and formal specs. This cements Rust's enterprise momentum, countering 2024 survey concerns on adoption.

관련 기사

Illustration depicting Linux kernel maintainers extending LTS support timelines in a server room, symbolizing reversed cutbacks and enhanced stability for servers and devices.
AI에 의해 생성된 이미지

Linux kernel extends LTS support for multiple releases, easing prior burnout-driven cutbacks

AI에 의해 보고됨 AI에 의해 생성된 이미지

Linux kernel maintainers have extended long-term support (LTS) for several key releases through 2026-2028, partially reversing a 2023 decision to limit support to two years amid contributor burnout. Stable maintainer Greg Kroah-Hartman updated the schedule following feedback from users, vendors, and fellow maintainer Sasha Levin, providing more time for security fixes in servers, Android devices, and appliances.

Developers have released Linux kernel 7.0, featuring improvements for Intel and AMD hardware, enhanced storage handling, and the removal of the experimental label from Rust support. Linus Torvalds announced the update, which is not a long-term support version. The release includes preparations for upcoming CPUs and GPUs, alongside self-healing filesystem capabilities.

AI에 의해 보고됨

Greg Kroah-Hartman has extended the projected end-of-life dates for several active Linux long-term support kernels following discussions with companies and co-maintainer Sasha Levin. This update provides longer support windows for kernels like 6.6, 6.12, and 6.18. The change offers more time for users relying on these stable releases.

이 웹사이트는 쿠키를 사용합니다

사이트를 개선하기 위해 분석을 위한 쿠키를 사용합니다. 자세한 내용은 개인정보 보호 정책을 읽으세요.
거부