×

Cache metadata for accelerating software transactional memory

  • US 8,898,652 B2
  • Filed: 06/08/2007
  • Issued: 11/25/2014
  • Est. Priority Date: 03/23/2006
  • Status: Active Grant
First Claim
Patent Images

1. A computer-readable medium storing computer-executable instructions for causing a computer to perform operations comprising:

  • providing a hardware accelerated software transactional memory application that has access to metadata in a central processing unit (CPU) cache;

    determining that a retry operation should be used for a particular transaction of a processor;

    aborting the particular transaction at a current point, the aborting comprising rolling back updates in the particular transaction;

    putting the particular transaction to sleep in response to aborting the particular transaction by executing a pause instruction to enter a low power state;

    after the particular transaction is aborted, marking cache line metadata in the metadata corresponding to watched cache lines in the aborted particular transaction;

    waking up the particular transaction in response to another transaction evicting a marked cache line corresponding to the watched cache lines in the aborted transaction; and

    retrying the particular transaction.

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