Patent ID: 6393584
Filing Date: 2002-05-21
Classification: G06F,Y02D

Abstract:
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.