Coexistence of advanced hardware synchronization and global locks
Abstract
A computer-implemented method and article of manufacture is disclosed for enabling computer programs utilizing hardware transactional memory to safely interact with code utilizing traditional locks. A thread executing on a processor of a plurality of processors in a shared-memory system may initiate transactional execution of a section of code, which includes a plurality of access operations to the shared-memory, including one or more to locations protected by a lock. Before executing any operations accessing the location associated with the lock, the thread reads the value of the lock as part of the transaction, and only proceeds if the lock is not held. If the lock is acquired by another thread during transactional execution, the processor detects this acquisition, aborts the transaction, and attempts to re-execute it.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An article of manufacture comprising a non-transitory computer-readable storage medium having program instructions stored thereon that are executable by a first of a plurality of processors in a transactional memory system to perform: initiating transactional execution of a section of code associated with a first thread, wherein the section of code includes a plurality of memory access operations to shared memory within the transactional memory system, wherein the first processor is configured to execute the plurality of memory access operations as a collective atomic transaction with respect
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- Ananian, et al., "Unbounded Transactional Memory," In Proceedings of the Eleventh IEEE Symposium on High-Performance Computer Architecture, pp. 316-327, Feb. 2005.
- Bobba, et al., "Performance Pathologies in Hardware Transactional Memory," ACM SIGARCH Computer Architecture News, pp. 81-91, New York, NY, USA, 2007 ACM.
- Chafi, et al. ,"A Scalable, Non-blocking Approach to Transactional Memory." In Proceedings of the Thirteenth IEEE Symposium on High-Performance Computer Architecture, pp. 97-108, Feb. 2007.
- Chuang et al., "Unbounded Page-Based Transactional Memory," In Proceedings of the Twelfth International Conference on Architectural Support for Programming Languages and Operating Systems, Oct. 2006.
- Chung et al, "Tradeoffs in Transactional Memory Virtualization," In Proceedings of the Twelfth International Conference on Architectural Support for Programming Languages and Operating Systems, Oct. 2006.