Patent ID: 10346313

Abstract:
A method, system and computer product for managing host reclaimable memory based on Virtual Machine (VM) needs includes a plurality of VMs running on the host and executing user processes; a hypervisor configured to process VM memory requests; a host CPU configured to control host physical memory reclaim process; at least one VM requiring host physical memory; a VM configuration utility Guest tools configured to determine page types based on a memory map; and a host module configured to scan a Least Recently Used (LRU) list for pages. The host CPU performs a legacy reclaim operation, when the page is not a VM page; executes a hard lock protection, when the page is a VM kernel page; executes a direct access (DAX) LRU operation, when the page is a VM DAX page; and executes access/dirty (A/D) bit marking, when the page is a regular VM page.