Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore compile-time detection of atomic context violations in kernel Rust code through Dr. Gary Guo's 27-minute conference talk at the Linux Plumbers Conference. Delve into the challenges of maintaining safety and correctness in the Linux kernel, particularly focusing on the dangers of sleeping inside an atomic context. Examine how such violations can escalate from correctness issues to safety hazards, potentially causing use-after-free problems in scenarios involving RCU read locks. Learn about Klint, a specialized tool designed to catch these violations at compile time, and discover how it employs simple, understandable rules to generate developer-friendly diagnostics. Gain insights into why traditional safe APIs, often burdened with runtime costs or ergonomic issues, may be less suitable for kernel development, and how Klint aims to address these concerns.