Patent · US Active

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

US8095771B2 · kind B2 · utility

46Cited by
39References
16Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 7, 2008
Grant dateJan 10, 2012
Priority date
Expiry dateApr 15, 2030

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2212/683
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.