×

MANAGING FAIRNESS FOR LOCK AND UNLOCK OPERATIONS USING OPERATION PRIORITIZATION

  • US 20180293114A1
  • Filed: 09/07/2017
  • Published: 10/11/2018
  • Est. Priority Date: 04/05/2017
  • Status: Active Grant
First Claim
Patent Images

1. A processor comprising:

  • a plurality of processor cores; and

    instruction management circuitry configured to manage lock and unlock operations for a first thread executing on a first processor core of the plurality of processor cores, the managing including;

    for each instruction included in the first thread and identified as being associated with a lock operation corresponding to a particular lock stored in a particular memory location, in response to determining that the particular lock has already been acquired, continuing to perform the lock operation for a plurality of attempts using associated operation messages for accessing the particular memory location, andfor each instruction included in the first thread and identified as being associated with an unlock operation corresponding to a particular lock stored in a particular memory location, releasing the particular lock from the first thread using an associated operation message for accessing the particular memory location;

    wherein the processor is configured to prioritize selected operation messages associated with an unlock operation over operation messages associated with a lock operation.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×