Conditional synchronization mechanisms allowing multiple store operations to become visible while a flagged memory location is owned and remains unchanged
Abstract
We propose a class of mechanisms to support a new style of synchronization that offers simple and efficient solutions to several existing problems for which existing solutions are complicated, expensive, and/or otherwise inadequate. In general, the proposed mechanisms allow a program to read from a first memory location (called the “flagged” location), and to then continue execution, storing values to zero or more other memory locations such that these stores take effect (i.e., become visible in the memory system) only while the flagged memory location does not change. In some embodiments, the mechanisms further allow the program to determine when the first memory location has changed. We call the proposed mechanisms conditional multi-store synchronization mechanisms.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer system comprising: at least one processor; a hierarchy of storage including a cache, wherein locations represented in the hierarchy are addressable by the processor; and a conditional multi-store mechanism that acquires ownership of a first cache line covering the target of a load-and-flag operation, wherein as long as the first cache line remains owned and contents thereof remain unmodified, the conditional multi-store mechanism allows results of plural successively executed conditional-store operations to become visible, individually and successively, in the storage.
- Claim 2Depends on #1
The computer system of claim 1 , wherein, for each of the successively executed conditional store operations, the conditional multi-store mechanism acquires write ownership of a cache line covering the respective target thereof and completes the respective conditional store operation
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (5)
- Afek, Y., "Atomic Snapshots of Shared Memory," Journal of the ACM, vol. 40, No. 4, pp. 873-890, 1993.
- Agesen, O. et al., "An Efficient Meta-Lock for Implementing Ubiquitous Synchronization," ACM SIGPLAN Notices, vol. 34, No. 10, pp. 207-222, Oct. 1999.
- Alpha Architecture Reference Manual (Alpha) (Alpha Architecture Reference Manual); Jan. 2002.
- Anderson, J. H. et al., "Universal Constructions for Large Objects," IEEE Transactions on Parallel and Distributed Systems, vol. 10, No. 12, pp. 1317-1332, 1999.
- Attiya, H. et al., "An Adaptive Collect Algorithm with Applications," Distributed Computing, vol. 15, No. 2, pp. 87-96, 2002.