Invention Grant
US08095771B2 Method and system for caching address translations from multiple address spaces in virtual machines
有权
用于从虚拟机中的多个地址空间缓存地址转换的方法和系统
- Patent Title: Method and system for caching address translations from multiple address spaces in virtual machines
- Patent Title (中): 用于从虚拟机中的多个地址空间缓存地址转换的方法和系统
-
Application No.: US12098766Application Date: 2008-04-07
-
Publication No.: US08095771B2Publication Date: 2012-01-10
- Inventor: John Te-Jui Sheu , David S. Bailey , Eric P. Traut , Renee Antonio Vega
- Applicant: John Te-Jui Sheu , David S. Bailey , Eric P. Traut , Renee Antonio Vega
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Woodcock Washburn LLP
- Main IPC: G06F12/00
- IPC: G06F12/00

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.
Public/Granted literature
- US20080215848A1 Method and System For Caching Address Translations From Multiple Address Spaces In Virtual Machines Public/Granted day:2008-09-04
Information query