Linux Kernel

Linus Torvalds Clearly Lays Out Linux Maintainer Roles - Or Not - Around Rust Code

Linus Torvalds addresses the ongoing Linux kernel Rust debate by clarifying maintainer roles, stating that maintainers can either actively engage with Rust code or stay hands-off, but cannot arbitrarily block its implementation. The discussion centers around DMA maintainer Christoph Hellwig's opposition to Rust code integration, highlighting the broader implications for kernel development governance.

Re: Rust kernel policy

Greg KH, a Linux kernel maintainer, strongly advocates for incorporating Rust into the kernel, citing how it eliminates common C-related bugs and memory safety issues. He emphasizes that Rust would particularly benefit new code and drivers, while acknowledging the ongoing importance of improving the existing C codebase. The discussion addresses concerns about mixed-language maintenance and developer adaptation.

Greg Kroah-Hartman Makes A Compelling Case For New Linux Kernel Drivers To Be Written In Rust

Linux kernel maintainer Greg Kroah-Hartman advocates for writing new kernel drivers in Rust, highlighting how it eliminates common C-related memory bugs. The debate over Rust in the Linux kernel continues, with Linus Torvalds supporting its inclusion despite some maintainers' opposition. Kroah-Hartman emphasizes that while existing C code won't disappear, Rust offers better memory safety and API design opportunities.

Debugging Our New Linux Kernel

An investigation revealed performance issues in Ubuntu web servers caused by Linux kernel's cgroups v2 implementation, specifically related to inode switching between cgroups after file operations. The problem manifested as elevated system CPU usage and listen overflows, impacting web server performance during the first few minutes after host deployment.

Searching for the cause of hung tasks in the Linux kernel

A detailed exploration of Linux kernel's hung task warnings, explaining how the system identifies processes stuck in uninterruptable states and their potential impact on system performance. Through three practical examples involving XFS filesystem, coredump processes, and RTNL mutex issues, the article demonstrates debugging approaches for various hung task scenarios.

Theodore Ts'o

The email discusses the role and challenges of Linux kernel maintainers, emphasizing that their power is limited to rejecting code rather than commanding development. A key point is made about the importance of becoming part of the community and building trust, particularly for teams wanting to introduce potentially disruptive features like Rust support.