Patents
US 7,363,463 B2#671326 Most CitedExpiredUnited States (USPTO)Utility

Method and system for caching address translations from multiple address spaces in virtual machines

60Forward Citations (#671326 Global)
3.3/yrCitation Velocity (#705175 Global)
5.03Citation PageRank (#3283862 Global)
9Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method of virtualizing memory through shadow page tables that cache translations from multiple guest address spaces in a virtual machine includes a software version of a hardware tagged translation look-aside buffer. Edits to guest page tables are detected by intercepting the creation of guest-writable mappings to guest page tables with translations cached in shadow page tables. The affected cached translations are marked as stale and purged upon an address space switch or an indiscriminate flush of translations by the guest. Thereby, non-stale translations remain cached but stale translations are discarded. The method includes tracking the guest-writable mappings to guest page tables, deferring discovery of such mappings to a guest page table for the first time until a purge of all cached translations when the number of untracked guest page tables exceeds a threshold, and sharing shadow page tables between shadow address spaces and between virtual processors.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 60.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of caching translations of virtual addresses (VA) to system physical addresses (SPA) from multiple address spaces in a virtual machine, the method comprising: write-protecting a guest page table containing at least one address translation for a first guest address space before caching the at least one address translation in a shadow page table, wherein a subsequent write to the guest page table is intercepted; intercepting a write to the guest page table; creating a guest-writable mapping to the guest page table after intercepting at least one write to the guest page table; wherein a

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (1)

  • Barham et al. "Xen and the art of virtualization." 2003. ACM Press. Proceedings of the nineteenth ACM Symposium on Operating Systems Principles. pp. 164-177.