Subj : [$] A new API for interrupt-aware spinlocks To : All From : LWN.net Date : Wed Oct 15 2025 17:30:08 [$] A new API for interrupt-aware spinlocks Date: Wed, 15 Oct 2025 16:28:20 +0000 Description: Boqun Feng spoke at Kangrejos2025 about adding a frequently needed API for Rust drivers that need to handle interrupts: interrupt-aware spinlocks. Most drivers will need to communicate information from interrupt handlers to main driver code, and this exchange is frequently synchronized with the use of spinlocks. While his first attempts ran into problems, Feng's ultimate solution could help prevent bugs in C code as well, by tracking the number of nested scopes that have disabled interrupts. The patch set , which contains work from Feng and Lyude Paul, is still under review. ====================================================================== Link to news story: https://lwn.net/Articles/1039374/ --- Mystic BBS v1.12 A49 (Linux/64) * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100) .