×

Safely Rolling Back Transactions In A Transactional Memory System With Concurrent Readers

  • US 20110055630A1
  • Filed: 09/03/2009
  • Published: 03/03/2011
  • Est. Priority Date: 09/03/2009
  • Status: Active Grant
First Claim
Patent Images

1. In a data processing system having at least one CPU, a memory operatively coupled to said CPU, said memory including a storage medium tangibly embodying data that is subject to concurrent access by a data updater that updates said data and a data reader that reads said data, a method for safely rolling back transactions implemented by said updater to update said data using a transactional memory technique as said reader reads said updated data while said transactions are uncommitted and subject to roll back, comprising:

  • said updater executing on said at least one CPU to perform a data update on said data to produce updated data using a transactional memory technique wherein said data update is implemented as a transaction in which said updated data is initially uncommitted data due to said transaction being subject to roll back;

    said reader executing on said at least one CPU to perform a data read on said uncommitted data; and

    upon a rollback of said transaction, deferring reclamation of memory locations used by said uncommitted data until a grace period has elapsed after which said reader can no longer be referencing said uncommitted data.

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