Software assisted nested hardware transactions
Abstract
A method and apparatus for efficiently executing nested transactions is herein described. Hardware support for execution of transactions is provided. Additionally, through the use of logging previous values immediately before a current nested transaction in a local memory and storage of a stack of handlers associated with a hierarchy of transactions, nested transactions are potentially efficiently executed. Upon a failure, abort, or invalidating event/access within a nested transaction, the state of variables or memory locations written to during execution of the nested transaction are rolled-back to immediately before the nested transaction, instead of all the way back to an original state of the variables or memory locations before an enclosing transaction. As a result, nested transactions may be re-executed within enclosing transactions, without flattening the enclosing and nested transactions to re-execute everything.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: a multi-resource processor including execution logic to speculatively execute a second transaction nested within a first transaction; a memory associated with the processor to hold a first set of values from a first set memory locations of the shared memory to be speculatively modified during execution of the first transaction, and a second set of values from a second set of memory locations of the shared memory to be speculatively modified during execution of the second transaction, wherein the memory is further to hold in a stack to include a reference to second abor
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 20 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (4)
- Adl-Tabatabai, et al., U.S. Appl. No. 11/303,529, filed Dec. 15, 2005.
- Saha, et al., U.S. Appl. No. 11/305,506, filed Dec. 16, 2005
- Saha, et al., U.S. Appl. No. 11/305,634, filed Dec. 16, 2005.
- Theo Haerder, Kurt Rothermel, "Concepts for Transaction Recovery in Nested Transactions", 1987.