Patents
US 7,865,671 B2#61877908 Most CitedActiveUnited States (USPTO)Utility

Efficient non-blocking K-compare-single-swap operation

1Forward Citations (#61877908 Global)
0.1/yrCitation Velocity (#51302429 Global)
0.74Citation PageRank (#61877908 Global)
37Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The design of nonblocking linked data structures using single-location synchronization primitives such as compare-and-swap (CAS) is a complex affair that often requires severe restrictions on the way pointers are used. One way to address this problem is to provide stronger synchronization operations, for example, ones that atomically modify one memory location while simultaneously verifying the contents of others. We provide a simple and highly efficient nonblocking implementation of such an operation: an atomic k-word-compare single-swap operation (KCSS). Our implementation is obstruction-free. As a result, it is highly efficient in the uncontended case and relies on contention management mechanisms in the contended cases. It allows linked data structure manipulation without the complexity and restrictions of other solutions. Additionally, as a building block of some implementations of our techniques, we have developed the first nonblocking software implementation of load-linked/store-conditional that does not severely restrict word size.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 1.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method, comprising: using a computer to perform: associating a respective tagged id location with each of a plurality of locations targeted by a multiple target synchronization operation, wherein one of the plurality of locations is a location to be modified by the multiple target synchronization operation; displacing an application value stored in the to-be-modified one of the targeted locations, wherein said displacing comprises: storing a first tagged id distinguishable from the application value in the to-be-modified one of the targeted locations and in the tagged id location associated

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (37)

PatentTitleYearCitations
WO 8,600,434 A1Method and apparatus for a compare and swap instruction—41
US 4,584,640 AMethod and apparatus for a compare and swap instruction198678
US 4,847,754 AExtended atomic operations1989123
EP 0,366,585 A2Method for comparing and swapping data in a multi-programming data processing system—41
EP 0,466,339 A2A method of passing task messages in a data processing system—50
US 5,224,215 AMessage queue processing among cooperative processors having significant speed differences199387
US 5,428,761 ASystem for achieving atomic non-sequential multi-word operations in shared memory1995410
US 6,128,710 AMethod utilizing a set of blocking-symbol resource-manipulation instructions for protecting the integrity of data in noncontiguous data objects of resources in a shared memory of a multiple processor computer system2000133
US 6,144,965 APerforming memory management in an object-oriented programming environment200084
US 6,178,423 B1System and method for recycling numerical values in a computer system200157
US 6,223,335 B1Platform independent double compare and swap operation200148
WO 0,153,942 A2Double-ended queue with concurrent non-blocking insert and remove operations—34
WO 0,153,943 A2Double-ended queue with concurrent non-blocking insert and remove operations—33
WO 0,180,015 A2Concurrent shared object implemented using a linked-list with amortized node allocation—33
WO 0,182,057 A2Lock-free implementation of concurrent shared object with dynamic node allocation and distinguishing pointer value—33
US 2001047361 A1Concurrent shared object implemented using a linked-list with amortized node allocation—92
US 6,360,219 B1Object queues with concurrent updating200288
US 6,360,220 B1Lock-free methods and systems for accessing and storing information in an indexed computer data structure having modifiable entries2002225
US 6,366,932 B1Apparatus and method for accessing an object oriented object using a smart passive reference200267
US 2003065892 A1Concurrent non-blocking FIFO array—35
US 2003105943 A1Mechanism for processing speclative LL and SC instructions in a pipelined processor—25
US 6,581,063 B1Method and apparatus for maintaining a linked list2003136
US 2003140085 A1Single-word lock-free reference counting—86
WO 03,060,705 A2Lock-free implementation of dynamic-sized shared data structure—27
WO 03,060,715 A2Value recycling facility for multithreaded computations—28
US 2003174572 A1Non-blocking memory management mechanism for supporting dynamic-sized data structures—66
US 2003182465 A1Lock-free implementation of dynamic-sized shared data structure—101
US 2003182462 A1Value recycling facility for multithreaded computations—67
US 6,651,146 B1Method and apparatus for managing access contention to a linear list without the use of locks200394

Non-Patent Literature (5)

  • Afek, "Atomic Snapshots of Shared Memory," Journal of the ACM, vol. 40, No. 4, pp. 873-890, 1993.
  • Afek, et al., "Disentangling Multi-Object Operations," Proceedings of the 16th Annual ACM Symposium on Principles of Distributed Computing, pp. 111-120, Aug. 1997.
  • Afek, Yehuda et al., "Long -Lived Renaming made Adaptive", 18th Annual ACM Symposium on Principles of Distributed Computing, pp. 91-104, 1999.
  • Agesen, et al., "DCAS-Based Concurrent Deques," SPAA 2000. Proceedings of the 12th Annual ACM Symposium on Parallel Algorithms and Architectures, pp. 137, 146, ACM Press, ISBN: 1-58113-185-2, 2000.
  • Agesen, et al., "DCAS-Based Concurrent Deques," Theory of Computing Systems., vol. 35, No. 3, pp. 349-386, May 2002.