Managing lock and unlock operations using active spinning
Abstract
Managing instructions on a processor includes: executing threads having access to a stored library of operations. For a first thread executing on the first processor core, for each instruction included in the first thread and identified as being associated with a lock operation corresponding to a particular lock, the managing includes determining if the particular lock has already been acquired for another thread executing on a processor core other than the first processor core, and if so, continuing to perform the lock operation for multiple attempts using a hardware lock operation different from the lock operation in the stored library, and if not, acquiring the particular lock for the first thread. The hardware lock operation performs a modified atomic operation that changes a result of the hardware lock operation for failed attempts to acquire the particular lock relative to a result of the lock operation in the stored library.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing instructions on a processor comprising a plurality of processor cores, the method comprising: executing a plurality of threads on the processor cores, each thread having access to a stored library of operations including at least one lock operation and at least one unlock operation; and managing instructions that are issued on a first processor core of the plurality of processor cores, for a first thread executing on the first processor core, the managing including: for each instruction included in the first thread and identified as being associated with a lock operation
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (4)
- Chabbi, Milind, Michael Fagan, and John Mellor-Crummey. "High performance locks for multi-level NUMA systems." In ACM SIGPLAN Notices, vol. 50, No. 8, pp. 215-226. ACM, 2015.
- Sivasubramanian, Swaminathan, John Stultz, Jack F. Vogel, and Paul McKenney. "Fairlocks-A High Performance Fair Locking Scheme." In International Conference on Parallel and Distributed Systems, pp. 241-246.
- Sivasubramanian, Swaminathan, John Stultz, Jack F. Vogel, and Paul McKenney. “Fairlocks—A High Performance Fair Locking Scheme.” In International Conference on Parallel and Distributed Systems, pp. 241-246.
- Vallejo, Enrique, Ramon Beivide, Adrian Cristal, Tim Harris, Fernando Vallejo, Osman Unsal, and Mateo Valero. "Architectural support for fair reader-writer locking." In Proceedings of the 2010 43rd Annual IEEE/ACM International Symposium on Microarchitecture, pp. 275-286. IEEE Computer Society, 2010