发明名称 USING THE TRANSACTION-BEGIN INSTRUCTION TO MANAGE TRANSACTIONAL ABORTS IN TRANSACTIONAL MEMORY COMPUTING ENVIRONMENTS
摘要 When executed, a transaction-begin instruction specifies an initial value for a transaction-count-to-completion (CTC) value for a transaction. The initial value indicates a predicted duration of the transaction. The CTC value may be a number of instructions to completion or an amount of time to completion. The CTC value is adjusted as the transaction progresses. The adjusted CTC value indicates how far the transaction is from completion. When a disruptive event associated with inducing transactional aborts, such as an interrupt or a conflicting memory access, is identified while processing the transaction, processing of the disruptive event is deferred if the adjusted CTC value satisfies deferral criteria. If the adjusted CTC value does not satisfy deferral criteria, the transaction is aborted and the disruptive event is processed.
申请公布号 US2015370507(A1) 申请公布日期 2015.12.24
申请号 US201514839036 申请日期 2015.08.28
申请人 International Business Machines Corporation 发明人 Cain, III Harold W.;Michael Maged M.;Shum Chung-Lung K.;Slegel Timothy J.
分类号 G06F3/06 主分类号 G06F3/06
代理机构 代理人
主权项 1. A method for processing transactions in a transaction execution (TX) computing environment with transactional memory, the method comprising: executing, by a processor, a transaction-begin instruction associated with a transaction, the transaction-begin instruction specifying an initial value for a transaction-count-to-completion (CTC) value, the initial value indicating a predicted duration of the transaction; adjusting, by the processor, the CTC value based on progress of the transaction, the adjusted CTC value predicting how far the transaction is from completion; identifying, by the processor, a pending disruptive event while processing the transaction, the disruptive event associated with inducing transactional aborts; based on the identified pending disruptive event, determining, by the processor, whether the adjusted CTC value satisfies predefined deferral criteria; and based on determining that the adjusted CTC value satisfies the predefined deferral criteria, deferring processing of the identified pending disruptive event to avoid aborting the transaction.
地址 Armonk NY US