Practical Lock-Free Implementation of LL/SC Using Only Pointer-size CAS

Hui Gao,Yan Fu,Wim H. Hesselink
DOI: https://doi.org/10.1109/icise.2009.841
2009-01-01
Abstract:The significant benefit of lock (or wait)-freedom for real-time systems is that by avoiding locks the potentials for deadlock and priority inversion are avoided. The lock-free algorithms often require the use of special atomic processor instructions such as CAS (compare and swap) or LL/SC (load linked/store conditional). However, many machine architectures support either CAS or LL/SC with restricted semantics. In this paper, we present a Practical lock-free implementation of the ideal semantics of LL/SC using only pointer-size CAS. To ensure our implementation is not flawed, we used the higherorder interactive theorem prover PVS for mechanical support.
What problem does this paper attempt to address?