Invention Grant
- Patent Title: Lockless free memory ballooning for virtual machines
-
Application No.: US15363752Application Date: 2016-11-29
-
Publication No.: US10169088B2Publication Date: 2019-01-01
- Inventor: Michael Tsirkin
- Applicant: Red Hat Israel, Ltd.
- Applicant Address: IL Ra'anana
- Assignee: Red Hat Israel, Ltd.
- Current Assignee: Red Hat Israel, Ltd.
- Current Assignee Address: IL Ra'anana
- Agency: Haynes and Boone, LLP
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F9/50 ; G06F12/1027 ; G06F9/455

Abstract:
An example method for managing memory includes receiving an inflate notification including a first identifier corresponding to a first time. The inflate notification indicates that a set of guest memory pages is unused by the guest at the first time. The method also includes determining whether the first identifier precedes a last identifier corresponding to a second time and included in a previously sent inflate request to the guest. If the first identifier does not precede the last identifier, the method also includes (i) for a first subset of the set modified since the first time, determining to not reclaim a first set of host memory pages corresponding to the first subset of guest memory pages, and (ii) for a second subset not modified since the first time, reclaiming a second set of host memory pages corresponding to the second subset of guest memory pages.
Public/Granted literature
- US20180150327A1 LOCKLESS FREE MEMORY BALLOONING FOR VIRTUAL MACHINES Public/Granted day:2018-05-31
Information query