US2019102188A1PendingUtilityA1

Apparatus and method for non-serializing split locks

Assignee: INTEL CORPPriority: Apr 1, 2016Filed: Sep 14, 2018Published: Apr 4, 2019
Est. expiryApr 1, 2036(~9.7 yrs left)· nominal 20-yr term from priority
G06F 9/3834G06F 12/0875G06F 12/084G06F 2212/452G06F 12/0831G06F 9/30047G06F 9/3005G06F 9/323G06F 9/52
49
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

An apparatus and method are described for performing split lock operations in a multi-core processor. For example, one embodiment of a processor comprises: a plurality of cores to execute instructions, each core comprising a core cache to cache data during instruction execution; a shared cache to be shared by two or more of the plurality of cores; a locking agent on a first core to initiate a split lock operation in response to detecting a transaction targeting at least two cache lines, the locking agent to transmit a request for the two cache lines to be set to an Exclusive state; at least one coherence enforcement engine to receive the request from the locking agent and to responsively cause any copies of the two cache lines in other cores to be invalidated; the locking agent to permit the transaction targeting the two cache lines to complete upon receipt of an indication that the cache lines are in the Exclusive state and, upon completion of the transaction, to transmit an indication that the transaction is complete to the coherence enforcement engine.

Claims

exact text as granted — not AI-modified
1 . A processor comprising:
 a plurality of cores to execute instructions, each core comprising a core cache to cache data during instruction execution;   a shared cache to be shared by two or more of the plurality of cores;   a locking agent on a first core to initiate a split lock operation in response to detecting a transaction targeting at least two cache lines, the split lock operation comprising a first lock preventing more than one split lock operation being performed at once, and a plurality of locks, including one lock for each of the at least two cache lines, the locking agent to transmit a request for the two cache lines to be set to an Exclusive state;   at least one coherence enforcement engine to receive the request from the locking agent and to responsively cause any copies of the two cache lines in other cores to be invalidated;   the locking agent to permit the transaction targeting the two cache lines to complete upon receipt of an indication that the cache lines are in the Exclusive state and, upon completion of the transaction, to transmit an indication that the transaction is complete to the coherence enforcement engine.   
     
     
         2 . The processor as in  claim 1  wherein to initiate the split lock operation, the locking agent is to transmit a request for the split lock operation to a lock master, the lock master to transmit a response to the locking agent to grant the split lock operation. 
     
     
         3 . The processor as in  claim 2  wherein the locking agent is to transmit an indication to release the split lock to the lock master upon completion of the transaction involving the two cache lines. 
     
     
         4 . The processor as in  claim 1  wherein the coherence enforcement engine is to enqueue any new requests directed to the two cache lines prior to the completion of the transaction involving the two cache lines, the coherence enforcement engine to process the new requests after receiving the indication that the transaction is complete from the locking agent. 
     
     
         5 . The processor as in  claim 4  wherein to responsively cause any copies of the two cache lines in other cores to be invalidated, the coherence enforcement engine is to transmit cache line invalidate commands to caching agents of the other cores. 
     
     
         6 . The processor as in  claim 5  wherein the invalidate commands comprise write-back invalidate (WBINV) commands to cause all caching agents of caches containing the two cache lines to invalidate the cache lines and write back any modifications to the cache lines to memory. 
     
     
         7 . The processor as in  claim 1  wherein the core cache comprises a Level 1 (L1) cache and wherein the shared cache comprises a Level 3 (L3) cache. 
     
     
         8 . A method comprising:
 initiating a split lock operation in a first core in response to detecting a transaction targeting at least two cache lines of a cache of the first core, the split lock operation comprising a first lock preventing more than one split lock operation being performed at once, and a plurality of locks, including one lock for each of the at least two cache lines;   transmitting a request for the two cache lines to be set to an Exclusive state;   responsively causing any copies of the two cache lines in other cores to be invalidated;   permitting the transaction targeting the two cache lines to complete upon receipt of an indication that the cache lines are in the Exclusive state; and   upon completion of the transaction, transmitting an indication that the transaction is complete.   
     
     
         9 . The method as in  claim 8  wherein to initiate the split lock operation, a locking agent of the first core is to transmit a request for the split lock operation to a lock master, the lock master to transmit a response to the locking agent to grant the split lock operation. 
     
     
         10 . The method as in  claim 9  wherein the locking agent is to transmit an indication to release the split lock to the lock master upon completion of the transaction involving the two cache lines. 
     
     
         11 . The method as in  claim 8  further comprising:
 enqueuing any new requests directed to the two cache lines prior to the completion of the transaction involving the two cache lines; and 
 processing the new requests after receiving the indication that the transaction is complete from the locking agent. 
 
     
     
         12 . The method as in  claim 11  wherein to responsively cause any copies of the two cache lines in other cores to be invalidated, cache line invalidate commands are transmitted to caching agents of the other cores. 
     
     
         13 . The method as in  claim 12  wherein the invalidate commands comprise write-back invalidate (WBINV) commands to cause all caching agents of caches containing the two cache lines to invalidate the cache lines and write back any modifications to the cache lines to memory. 
     
     
         14 . The method as in  claim 8  wherein the cache of the first core comprises a Level 1 (L1) cache. 
     
     
         15 . A system comprising:
 a memory to store instructions and data;   a processor to execute the instructions and process the data;   a graphics processor to perform graphics operations in response to graphics instructions;   a network interface to receive and transmit data over a network;   an interface for receiving user input from a mouse or cursor control device, the plurality of cores executing the instructions and processing the data responsive to the user input;   the processor comprising:
 a plurality of cores to execute instructions, each core comprising a core cache to cache data during instruction execution; 
 a shared cache to be shared by two or more of the plurality of cores; 
 a locking agent on a first core to initiate a split lock operation in response to detecting a transaction targeting at least two cache lines, the split lock operation comprising a first lock preventing more than one split lock operation being performed at once, and a plurality of locks, including one lock for each of the at least two cache lines, the locking agent to transmit a request for the two cache lines to be set to an Exclusive state; 
 at least one coherence enforcement engine to receive the request from the locking agent and to responsively cause any copies of the two cache lines in other cores to be invalidated; 
 the locking agent to permit the transaction targeting the two cache lines to complete upon receipt of an indication that the cache lines are in the Exclusive state and, upon completion of the transaction, to transmit an indication that the transaction is complete to the coherence enforcement engine. 
   
     
     
         16 . The system as in  claim 15  wherein to initiate the split lock operation, the locking agent is to transmit a request for the split lock operation to a lock master, the lock master to transmit a response to the locking agent to grant the split lock operation. 
     
     
         17 . The system as in  claim 16  wherein the locking agent is to transmit an indication to release the split lock to the lock master upon completion of the transaction involving the two cache lines. 
     
     
         18 . The system as in  claim 15  wherein the coherence enforcement engine is to enqueue any new requests directed to the two cache lines prior to the completion of the transaction involving the two cache lines, the coherence enforcement engine to process the new requests after receiving the indication that the transaction is complete from the locking agent. 
     
     
         19 . The system as in  claim 18  wherein to responsively cause any copies of the two cache lines in other cores to be invalidated, the coherence enforcement engine is to transmit cache line invalidate commands to caching agents of the other cores. 
     
     
         20 . The system as in  claim 19  wherein the invalidate commands comprise write-back invalidate (WBINV) commands to cause all caching agents of caches containing the two cache lines to invalidate the cache lines and write back any modifications to the cache lines to memory.

Join the waitlist — get patent alerts

Track US2019102188A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.