MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
spinlocks
Recherche

[$] A new API for interrupt-aware spinlocks

mercredi 15 octobre 2025, 18:28 , par LWN.net
Boqun Feng spoke at

Kangrejos 2025 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.
https://lwn.net/Articles/1039374/

Voir aussi

News copyright owned by their original publishers | Copyright © 2004 - 2025 Zicos / 440Network
Date Actuelle
jeu. 16 oct. - 01:06 CEST