×

ADAPTIVE PROCESS FOR DATA SHARING WITH SELECTION OF LOCK ELISION AND LOCKING

  • US 20150242246A1
  • Filed: 02/27/2014
  • Published: 08/27/2015
  • Est. Priority Date: 02/27/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method, in a Hardware Lock Elision (HLE) Environment, for predictively determining whether a HLE transaction should actually acquire a lock and execute non-transactionally, the method comprising:

  • based on encountering a HLE lock-acquire instruction, determining, based on a HLE predictor, whether to elide the lock and proceed as an HLE transaction or to acquire the lock and proceed as a non-transaction;

    based on the HLE predictor predicting to elide, setting an address of the lock as a read-set of the HLE transaction, and suppressing any write by the lock-acquire instruction to the lock and proceeding in HLE transactional execution mode until a xrelease instruction is encountered wherein the xrelease instruction releases the lock or the HLE transaction encounters a transactional conflict; and

    based on the HLE predictor predicting not-to-elide, treating the HLE lock-acquire instruction as a non-HLE lock-acquire instruction, and proceeding in non-transactional mode.

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