Implementing memory evacuation using copy-on-write
AssigneeHewlett-Packard Development Company, L.P.
InventorClifford Mather
Life of this patent
Estimating the term…
Abstract
A method for evacuating a source memory page. The method includes ascertaining a first set of processes, the first set of processes representing processes currently accessing the source memory page. The method also includes manipulating parameters associated with the source memory page to enable at least one copy-on-write procedure to be performed on the source memory page irrespective whether the first set of processes has only one process or the first set of processes has multiple processes.
Claims23
A method for evacuating a source memory page, comprising:
- ascertaining a first set of processes, said first set of processes representing processes currently accessing said source memory page;
- and
- manipulating parameters associated with said source memory page to enable at least one copy-on-write procedure to be performed on said source memory page irrespective whether said first set of processes has only one process or said first set of processes has multiple processes.
A method for evacuating a source memory page, comprising:
- ascertaining a first set of processes, said first set of processes representing processes currently accessing said source memory page;
- for each process in said first set of processes, performing steps a) through c) as follows:
- a) incrementing a first value of a sharer attribute associated with said source memory page by 1, said first value indicating the number of processes that accesses said source memory page;
- b) after said increasing, invoking copy-on-write procedure for said source memory page, thereby allowing said each process to be redirected to a respective target memory page whose content is copied from said source memory page by said copy-on-write procedure;
- and
- c) after said invoking, decrementing a second value of said sharer attribute associated with said source memory page by 1, said second value indicating the number of processes that accesses said source memory page after said invoking.
An article of manufacture comprising a program storage medium having computer readable code embodied therein, said computer readable code being configured to evacuate a source memory page, comprising:
- computer readable code ascertaining a first set of processes, said first set of processes representing processes currently accessing said source memory page;
- and
- computer readable code for manipulating parameters associated with said source memory page to enable at least one copy-on-write procedure to be performed on said source memory page irrespective whether said first set of processes has only one process or said first set of processes has multiple processes.
Dependencies are inferred from the claim text.