[$] Preventing atomic-context violations in Rust code with klint
One of the core constraints when programming in the kernel is the need toavoid sleeping when running in atomic context. For the most part, theresponsibility for adherence to this rule is placed on the developer'sshoulders; Rust developers, though, want the compiler to ensure that codeis safe whenever possible. At the 2023 LinuxPlumbers Conference, Gary Guo presented (via a remote link) the klinttool, which can find and flag many atomic-context violations before they turn intouser-affecting bugs.