Invention Grant
US08719513B2 System and method for maintaining memory page sharing in a virtual environment 有权
在虚拟环境中维护内存页共享的系统和方法

  • Patent Title: System and method for maintaining memory page sharing in a virtual environment
  • Patent Title (中): 在虚拟环境中维护内存页共享的系统和方法
  • Application No.: US13768637
    Application Date: 2013-02-15
  • Publication No.: US08719513B2
    Publication Date: 2014-05-06
  • Inventor: Ole Agesen
  • Applicant: VMware, Inc.
  • Applicant Address: US CA Palo Alto
  • Assignee: VMware, Inc.
  • Current Assignee: VMware, Inc.
  • Current Assignee Address: US CA Palo Alto
  • Main IPC: G06F9/455
  • IPC: G06F9/455 G06F7/04 G06F12/08
System and method for maintaining memory page sharing in a virtual environment
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.
Information query
Patent Agency Ranking
0/0