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

Claim 13:
14. A system comprising:
a guest memory having a plurality of GPPs, wherein the plurality of GPPs includes a first group of pages and a second group of pages that comprises at least one loan page, and wherein the at least one loan page has a fixed quantity;
a guest operating system (“OS”);
at least one processor in communication with the guest memory; and
a hypervisor configured to:
store a guest physical address (“GPA”) for each respective loan page of the second group having a status of in-use, wherein the GPA is mapped to a corresponding virtual address, wherein each respective loan page of the at least one loan page of the second group has a status of one of in-use and unused,
responsive to a page fault being reported by the guest OS for a first GPP of the first group of the plurality of GPPs, determine a state of the first GPP,
responsive to determining the state of the first GPP as deflated, place a first fresh page for the first GPP,
responsive to determining the state of the first GPP as inflated, locate an unused loan page from the at least one loan page of the second group, and
responsive to locating the unused loan page, associate a respective GPA with the unused loan page and place a second fresh page, wherein each respective GPP of the first group having an inflated state is temporarily backed by a respective loan page.