×

Enabling hardware transactional memory to work more efficiently with readers that can tolerate stale data

  • US 9,244,844 B2
  • Filed: 03/14/2013
  • Issued: 01/26/2016
  • Est. Priority Date: 03/14/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A system, comprising:

  • one or more processors;

    a memory coupled to said one or more processors;

    control logic implementing a hardware transactional memory (HTM) subsystem using said memory, said control logic being operable to perform operations that prevent a concurrent HTM transaction from aborting due to a concurrent reader, said operations comprising;

    receiving a load request from said concurrent reader;

    determining whether said load request signifies that said concurrent reader can tolerate pre-transaction data;

    determining whether said load request comprises data that has been designated for update by said concurrent HTM transaction;

    marking a cache line containing said data as pre-transaction data and returning said data to said concurrent reader if said load request signifies that said concurrent reader can tolerate pre-transaction data and comprises data that has been designated for update by said concurrent HTM transaction; and

    if said load request comprises data that has been designated for update by said concurrent HTM transaction, aborting said concurrent HTM transaction in response to said load request if said cache line is not marked as containing pre-transaction data, and proceeding with said concurrent HTM transaction notwithstanding said load request if said cache line is marked as containing pre-transaction data.

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