Lockless free memory ballooning for virtual machines
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
Information query
Patent Agency Ranking
0/0