Patent ID: 11893408
Assignee: RED HAT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method comprising:
tracking a respective state for each respective page of a plurality of guest physical pages (“GPPs”) of a guest memory, wherein the plurality of GPPs includes a first group of pages, the respective state is one of inflated and deflated, and wherein the plurality of GPPs includes a second group of pages comprising a plurality of loan pages that has a fixed quantity;
tracking a respective status of each of the plurality of loan pages of the second group, wherein each respective loan page of the plurality of loan pages of the second group has a status of one of in-use and unused;
determining that each respective loan page of the plurality of loan pages of the second group is in-use;
responsive to determining that each respective loan page has an in-use status, un-assigning a first loan page of the plurality of loan pages of the second group from a corresponding GPP of the plurality of GPPs of the first group;
discarding the first loan page thereby changing the first loan page from having an in-use status to having an unused status; and
assigning the first loan page having the unused status to a first GPP of the first group that is inflated, such that the first loan page's status updates to in-use, wherein each respective page of the plurality of GPPs of the first group having an inflated state are temporarily backed by the plurality of loan pages of the second group having the fixed quantity.