Article 6GF2H [$] Preventing atomic-context violations in Rust code with klint

[$] Preventing atomic-context violations in Rust code with klint

by
corbet
from LWN.net on (#6GF2H)
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.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments