• DocumentCode
    2217014
  • Title

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

  • Author

    Gao, Hui ; Fu, Yan ; Hesselink, Wim H.

  • Author_Institution
    Sch. of Comput. Sci. & Eng., Univ. of Electron. Sci. & Technol. of China, Chengdu, China
  • fYear
    2009
  • fDate
    26-28 Dec. 2009
  • Firstpage
    320
  • Lastpage
    323
  • 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 higher-order interactive theorem prover PVS for mechanical support.
  • Keywords
    computer architecture; concurrency control; instruction sets; real-time systems; theorem proving; atomic processor instructions; compare and swap; deadlock; higher-order interactive theorem prover; lock-free algorithms; machine architectures; mechanical support; pointer-size CAS; priority inversion; real-time systems; semantics; Algorithm design and analysis; Computer science; Content addressable storage; Context-aware services; Data structures; Information science; Mathematics; Real time systems; System recovery; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Science and Engineering (ICISE), 2009 1st International Conference on
  • Conference_Location
    Nanjing
  • Print_ISBN
    978-1-4244-4909-5
  • Type

    conf

  • DOI
    10.1109/ICISE.2009.841
  • Filename
    5454905