Leveraging transactional memory hardware to accelerate virtualization and emulation
Abstract
Various technologies and techniques are disclosed for using transactional memory hardware to accelerate virtualization or emulation. A central processing unit is provided with the transactional memory hardware. Code backpatching can be facilitated by providing transactional memory hardware that supports a facility to maintain private memory state and an atomic commit feature. Changes made to certain code are stored in the private state facility. Backpatching changes are enacted by attempting to commit all the changes to memory at once using the atomic commit feature. An efficient call return stack can be provided by using transactional memory hardware. A call return cache stored in the private state facility captures a host address to return to after execution of a guest function completes. A direct-lookup hardware-based hash table is used for the call return cache.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for using transactional memory hardware to facilitate code backpatching comprising: receiving changes to be made to certain code from at least two threads; storing the changes to be made to the certain code in a private state facility of transactional memory hardware on a central processing unit; enacting backpatching changes by attempting to commit all the changes to memory at once using an atomic commit feature of the transactional memory hardware; if another thread is trying to execute the certain code to be changed, causing the attempting to commit all the changes to memory to fai
- Claim 2Depends on #1
The method of claim 1 , wherein by using the atomic commit feature to enact backpatching changes,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (5)
- Abramson et al., "Intel Virtualization Technology for Directed I/O", Intel Technology Journal, vol. 10, Issue 03 Aug. 10, 2006, pp. 179-192.
- Adl-Tabatabai, Ali-Reza, et al. "Unlocking Concurrency." ACM QUEUE.10 pages. Dec./Jan. 2006-2007.
- Ananian, et al., "Unbounded Transactional Memory," Proceedings of the 11th Symposium on High-Performance Computer Architecture, pp. 316-327 (Feb. 2005).
- Chung et al., "Tradeoffs in Transactional Memory Virtualization", in: Proceedings of the 2006 ASPLOS Conference Session: Transactional memory, 2006, pp. 371-381, Oct. 2006.
- Communication for Application No. EP 08 771 214.7 mailed Mar. 4, 2011 (7 pages).