Invention Grant
- Patent Title: Efficient non-blocking k-compare-single-swap operation
- Patent Title (中): 高效无阻塞k-比较 - 单互换操作
-
Application No.: US11864574Application Date: 2007-09-28
-
Publication No.: US07793053B2Publication Date: 2010-09-07
- Inventor: Nir N. Shavit , Mark S. Moir , Victor M. Luchangco
- Applicant: Nir N. Shavit , Mark S. Moir , Victor M. Luchangco
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C Kowert
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F13/00

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.
Public/Granted literature
- US20080034166A1 Efficient Non-Blocking K-Compare-Single-Swap Operation Public/Granted day:2008-02-07
Information query