×

Execution of program region with transactional memory

  • US 10,241,700 B2
  • Filed: 08/21/2015
  • Issued: 03/26/2019
  • Est. Priority Date: 08/21/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for executing a program region by a computer system using hierarchical locks with transactional memory support, each lock being associated with a shared resource among available resources, the method comprising:

  • detecting data conflicts among concurrent transactions via a conflict detection module to abort a transaction that caused at least one of the data conflicts;

    arbitrating the remaining data conflicts via a conflict arbitration module;

    retrying the aborted transaction for the program region by determining whether a first condition related to a transaction abort is satisfied;

    acquiring a bottom level lock corresponding to a bottom level resource among the available resources to execute the program region in the transaction if the first condition is satisfied;

    acquiring a next level lock corresponding to a next level resource, after releasing the bottom level lock, if a second condition related to a threshold for transaction retries is determined to be satisfied; and

    executing the program region without using the transaction if the acquired next level lock is a top level lock corresponding to a top level resource.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×