Patents
US 10,248,420 B2#108277745 Most CitedActiveUnited States (USPTO)Utility

Managing lock and unlock operations using active spinning

0Forward Citations (#108277745 Global)
0.0/yrCitation Velocity (#108277745 Global)
0.56Citation PageRank (#108277745 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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)

PatentTitleYearCitations
EP 0,783,152 A2Method and apparatus for automatically managing concurrent access to a shared resource in a multi-threaded programming environment—15
JP H09198265 AMethod for automatically controlling parallel and simultaneous access to shared resources in multi-thread type programming environment and device therefor—10
US 5,678,026 AMulti-processor data processing system with control for granting multiple storage locks in parallel and parallel lock priority and second level cache priority queues1997151
CA 2,233,407 A1Shared memory management process—4
US 2001014905 A1Method and apparatus for managing a lock for an object—135
US 2002083063 A1Software and data processing system with priority queue dispatching—93
US 6,598,068 B1Method and apparatus for automatically managing concurrent access to a shared resource in a multi-threaded programming environment200376
US 2003182356 A1Updating spin counters for spin latches—13
US 2004098723 A1Multiprocessing systems employing hierarchical back-off locks—31
US 2004216112 A1System and method for thread prioritization during lock processing—53
JP 2004326783 ASystem and method for thread prioritization during lock processing—8
US 2004250240 A1Method for JIT compiler to optimize repetitive synchronization—36
US 2005080963 A1Method and system for autonomically adaptive mutexes—40
US 2005081204 A1Method and system for dynamically bounded spinning threads on a contested mutex—95
US 2006031658 A1Method, apparatus, and computer program product for dynamically tuning a data processing system by identifying and boosting holders of contentious locks—27
US 2006090168 A1Method and system for speeding up mutual exclusion—19
US 2006117316 A1Hardware multithreading systems and methods—163
US 7,117,481 B1Composite lock for computer systems with multiple domains200698
US 7,143,410 B1Synchronization mechanism and method for synchronizing multiple threads with a single thread200649
US 2006282836 A1System and method for implementing distributed priority inheritance—47
US 2007022429 A1Lock sequencing—22
US 2007044103 A1Inter-thread communication of lock protected data—20
US 2007124728 A1Passing work between threads—64
US 7,275,247 B2Method and apparatus for handling threads in a data processing system200713
US 7,278,141 B2System and method for adding priority change value corresponding with a lock to a thread during lock processing200722
US 2008104600 A1Operating System for a Computing Device—33
US 7,383,368 B2Method and system for autonomically adaptive mutexes by considering acquisition cost value200837
US 7,458,076 B2Method, apparatus, and computer program product for dynamically tuning a data processing system by identifying and boosting holders of contentious locks200825
US 2010037242 A1System and method for improving run-time performance of applications with multithreaded and single threaded routines—24
US 2010100889 A1Accelerating mutual exclusion locking function and condition signaling while maintaining priority wait queues—35

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