Managing memory of a computer
AssigneeInternational Business Machines Corporation
InventorsKiyokuni Kawachiya, Kazunori Ogata
Life of this patent
Estimating the term…
Abstract
A method for managing data in a memory of a computer. The method includes the steps of: prohibiting a specified memory area in a memory from being accessed temporarily or intermittently; and attaching, to first data, a first mark indicating that the first data has been read when a page fault has occurred as a result of an access by any process to read on the first data; where the first data is present in a specified memory area prohibited from being accessed; and where at least one of the steps is carried out using a computer device.
Claims17
A method for managing data in a memory of a computer, the method comprising:
- setting a state of a specified memory area in the memory to a first state, the first state prohibiting the specified memory area from being read or write accessed;
- detecting a page fault at an address of a first data present in the specified memory area, the page fault being a result of an access on first data;
- and
- in response to the access on first data being determined as a read access
- attaching, to the first data, a first mark indicating that the first data has been read, and
- altering the state to a second state, the second state enabling only read access to the specified memory area.
A method for managing data in a memory of a computer, the method comprising:
- setting a state of a specified memory area in the memory to a first state, the first state prohibiting the specified memory area from being write accessed;
- detecting a page fault at an address of a first data present in the specified memory area, the page fault being a result of an access on first data;
- and
- in response to the access being determined as a write access
- attaching, to data, a mark indicating that the data has been written, and
- altering the state to a second state, the second state enabling read and write access to the specified memory area.
A computer program product for managing data in a memory of a computer, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by the computer to cause the computer to:
- setting a state of a specified memory area in the memory to a first state, the first state prohibiting the specified memory area from being read or write accessed;
- detecting a page fault at an address of a first data present in the specified memory area, the page fault being a result of an access on first data;
- and
- in response to the access on first data being determined as a read access
- attaching, to the first data, a first mark indicating that the first data has been read, and
- altering the state to a second state, the second state enabling only read access to the specified memory area.
A system for managing data, comprising:
- a computer having at least one processor and a memory, the computer configured to:
- set a state of a specified memory area in the memory to a first state, wherein the first state prohibits the specified memory area from being write accessed;
- detect a page fault at an address of a first data present in the specified memory area, wherein the page fault is a result of an access on first data;
- and
- in response to a determination that the access is a read access:
- attach, to the first data, a first mark that indicates that the first data has been read, and
- alter the state to a second state, wherein the second state enables only read access to the specified memory area.
Dependencies are inferred from the claim text.