主权项 |
1. A method for providing hints for page stealing by prioritizing pages based on the number of residences for the pages in a virtual environment comprising:
receiving, by one or more computer processors, a plurality of pages that are candidates to be hinted to a hypervisor for page stealing; determining, by one or more computer processors, at least two page types from the plurality of pages; determining, by one or more computer processors, whether any of the at least two page types have a total number of residences less than a total number of potential residences in a virtual environment for all page types and have a total number of residences less than a threshold; and responsive to determining a first page type of the at least two page types has a total number of residences less than a total number of potential residences in the virtual environment for all page types and has a total number of residences less than a threshold, notifying, by one or more computer processors, the hypervisor of at least one page, from the plurality of pages, that is of the first page type. |