US 11,816,498 B2
Early event-based notification for VM swapping
Carl Alan Waldspurger, Palo Alto, CA (US); Florian Anselm Johannes Schmidt, Cambridge (GB); and Jonathan James Davies, Cambridge (GB)
Assigned to Nutanix, Inc., San Jose, CA (US)
Filed by Nutanix, Inc., San Jose, CA (US)
Filed on Jan. 21, 2021, as Appl. No. 17/154,457.
Prior Publication US 2022/0229684 A1, Jul. 21, 2022
Int. Cl. G06F 9/455 (2018.01); G06F 9/54 (2006.01); G06F 13/16 (2006.01)
CPC G06F 9/45558 (2013.01) [G06F 9/542 (2013.01); G06F 13/1668 (2013.01); G06F 2009/4557 (2013.01); G06F 2009/45579 (2013.01); G06F 2009/45583 (2013.01)] 20 Claims
OG exemplary drawing
 
15. A computer-implemented method comprising:
receiving, from a user-space application, a request to detect swapping activity satisfying a threshold condition, wherein the swapping activity comprises swapping pages of a virtual machine (VM) from a host memory to a storage location shared by multiple VMs, wherein a page table of the VM specifies physical locations of non-swapped pages in the host memory and physical locations of swapped pages in the storage location;
detecting the swapping activity satisfying the threshold condition; and
in response to occurrence of the threshold condition, sending a response that indicates that the swapping activity satisfies the threshold condition.