Method and system for efficiently saving the operating state of a data processing system
First Claim
1. A method for efficiently storing an operating state of a data processing system within a nonvolatile mass storage device, said data processing system having a processor and a volatile system memory, wherein said data processing system addresses a virtual memory address space divided into a plurality of memory pages, and wherein a subset of said plurality of memory pages is stored within said volatile system memory, and wherein volatile data within said data processing system defines said operating state, said method comprising:
- in response to a selected input, determining if storage of said operating state of said data processing system is possible;
in response to a determination that storage of said operating state is possible, halting scheduling of tasks to be performed by said data processing system;
removing data not required for operation of said data processing system from said volatile system memory, said step of removing data not required for operation of said data processing system from said volatile memory including;
discarding each memory page within said subset of said plurality of memory pages for which a copy is stored within said nonvolatile mass storage device or which contains no data;
thereafter, storing within said nonvolatile mass storage device each memory page within said subset of said plurality of memory pages that contains data not required for operation of said data processing system; and
thereafter, storing said operating state of said data processing system within said nonvolatile mass storage device, wherein said operating state of said data processing system can be efficiently restored.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system are disclosed for efficiently storing an operating state of a data processing system having a volatile memory within a nonvolatile mass storage device. In response to a selected input, a determination is made whether storing the operating state of the data processing system is possible. If storing the operating state is possible, scheduling of tasks to be performed by the data processing system is halted. Data not required for operation of the data processing system is then removed from the volatile memory. The operating state of the data processing system is stored within the nonvolatile mass storage device, thereby enabling the operating state of the data processing system to be efficiently restored. Thereafter, power is removed from the data processing system. In response to restoring power to the data processing system, a determination is made whether the operating state of the data processing system is stored within the nonvolatile mass storage device. In response to a determination that the operating state of the data processing system is stored within the nonvolatile mass storage device, the operating state of the data processing system is loaded from the nonvolatile mass storage device, thereby restoring the operating state of the data processing system.
240 Citations
4 Claims
-
1. A method for efficiently storing an operating state of a data processing system within a nonvolatile mass storage device, said data processing system having a processor and a volatile system memory, wherein said data processing system addresses a virtual memory address space divided into a plurality of memory pages, and wherein a subset of said plurality of memory pages is stored within said volatile system memory, and wherein volatile data within said data processing system defines said operating state, said method comprising:
-
in response to a selected input, determining if storage of said operating state of said data processing system is possible;
in response to a determination that storage of said operating state is possible, halting scheduling of tasks to be performed by said data processing system;
removing data not required for operation of said data processing system from said volatile system memory, said step of removing data not required for operation of said data processing system from said volatile memory including;
discarding each memory page within said subset of said plurality of memory pages for which a copy is stored within said nonvolatile mass storage device or which contains no data;
thereafter, storing within said nonvolatile mass storage device each memory page within said subset of said plurality of memory pages that contains data not required for operation of said data processing system; and
thereafter, storing said operating state of said data processing system within said nonvolatile mass storage device, wherein said operating state of said data processing system can be efficiently restored. - View Dependent Claims (2)
-
-
3. A system for efficiently storing an operating state of a data processing system within a nonvolatile mass storage device, said data processing system having a processor and a volatile system memory, wherein said data processing system addresses a virtual memory address space divided into a plurality of memory pages, and wherein a subset of said plurality of memory pages is stored within said volatile system memory, and wherein volatile data within said data processing system defines said operating state, said system comprising:
-
means for determining if storage of said operating state of said data processing system is possible in response to a selected input;
means, responsive to a determination that storage of said operating state is possible, for halting scheduling of tasks to be performed by said data processing system;
means for removing data not required for operation of said data processing system from said volatile system memory said means for removing data not required for operation of said data processing system from said volatile memory including;
means for discarding each memory page within said subset of said plurality of memory pages for which a copy is stored within said nonvolatile mass storage device or which contains no data;
means for thereafter storing within said nonvolatile mass storage device each memory page within said subset of said plurality of memory pages that contains data not required for operation of said data processing system; and
means for thereafter storing said operating state of said data processing system within nonvolatile mass storage device, wherein said operating state of said data processing system can be efficiently restored. - View Dependent Claims (4)
-
Specification