Patents
US 8,380,939 B2#44246035 Most CitedActiveUnited States (USPTO)Utility

System and method for maintaining memory page sharing in a virtual environment

2Forward Citations (#44246035 Global)
0.1/yrCitation Velocity (#39012841 Global)
0.91Citation PageRank (#47135449 Global)
5Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

In a virtualized system using memory page sharing, a method is provided for maintaining sharing when Guest code attempts to write to the shared memory. In one embodiment, virtualization logic uses a pattern matcher to recognize and intercept page zeroing code in the Guest OS. When the page zeroing code is about to run against a page that is already zeroed, i.e., contains all zeros, and is being shared, the memory writes in the page zeroing code have no effect. The virtualization logic skips over the writes, providing an appearance that the Guest OS page zeroing code has run to completion but without performing any of the writes that would have caused a loss of page sharing. The pattern matcher can be part of a binary translator that inspects code before it executes.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    In a system comprising virtualization logic and a virtual machine (VM) running Guest code, a method comprising: the virtualization logic controlling execution of the Guest code and monitoring the Guest code for a predetermined code pattern; in response to the virtualization logic detecting the predetermined code pattern in a portion of Guest code, the virtualization logic evaluating a state of at least one memory page; and the virtualization logic determining whether or not to identically execute the portion of Guest code as a function of the evaluated state of the at least one memory page.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein monitoring the Guest code for a predetermined code pattern comprises: the virtualization logic comparing the Guest code to one or more predetermined code patterns.

  3. Claim 3Depends on #1

    The method of claim 1 , wherein monitoring th

Technical Overview & Description

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

Cited By — Indexed Forward Citations (2 of 2 total)