Operating system virtual memory management for hardware transactional memory
Abstract
Operating system virtual memory management for hardware transactional memory. A method may be performed in a computing environment where an application running on a first hardware thread has been in a hardware transaction, with transactional memory hardware state in cache entries correlated by memory hardware when data is read from or written to data cache entries. The data cache entries are correlated to physical addresses in a first physical page mapped from a first virtual page in a virtual memory page table. The method includes an operating system deciding to unmap the first virtual page. As a result, the operating system removes the mapping of the first virtual page to the first physical page from the virtual memory page table. As a result, the operating system performs an action to discard transactional memory hardware state for at least the first physical page. Embodiments may further suspend hardware transactions in kernel mode. Embodiments may further perform soft page fault handling without aborting a hardware transaction, resuming the hardware transaction upon return to user mode, and even successfully committing the hardware transaction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 23.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: at a first hardware thread, an operating system in kernel mode allocating a first virtual page causing the first virtual page to be mapped to a first physical page in a virtual memory page table; an application running on the first hardware thread beginning a hardware transaction, such that read or write operations performed while in the transaction implicitly have transactional memory hardware state established when data is read from or written to data cache entries, wherein the data cache entries are correlated to physical addresses in the first physical page, and in the
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 23 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Abadi; "Transactional Memory with Strong Atomicity Using Off-the-Shelf Memory Protection Hardward"; 2009; pp. 1-11; http://research.microsoft.com/en-us/um/people/tharris/papers/2009-ppopp.pdf.
- Adl-Tabatabai; "Unlocking Concurrency"-Published Dec./Jan. 2006-2007 pp. 25-33.
- Agrawal-"Nested parallelism in transactional memory"-Published 2008; pp. 163-174.
- Ananian; "Unbounded Transactional Memory"; 2009; pp. 1-12; http://supertech.csail.mit.edu/papers/xaction.ps.
- Andrew; "A Dictionary of HTML META Tags"-Feb. 11, 2007-pp. 1-11-http://vancouver-webpages. com/META/metatags.detail.html.