Patent ID: 9342344
Filing Date: 2016-05-17
CPC Classification: G06F

Claim Text:
1. A method for building a list of swap candidate pages for host swapping, the method comprising: determining, by a host system, a swap target virtual machine (VM) and a target number of swap candidate pages, wherein the swap target VM is a VM running on the host system that a hypervisor of the host system has determined to be a target for host swapping, and wherein the swap candidate pages are memory pages in a memory space of the swap target VM that the hypervisor will attempt to swap to disk when host swapping is initiated; selecting, by the host system, a memory page from the memory space of the swap target VM; checking, by the host system, whether the memory page is sharable or compressible; and adding, by the host system, the memory page to the list of swap candidate pages if the memory page is sharable or compressible.