主权项 |
1. A computer system for creating a snapshot of a persistent physical memory of the computer system, the computer system comprising:
one or more processors, one or more persistent memories, and a memory controller; program instructions, for execution by the memory controller, to store a system state of the computer system in persistent memory; program instructions, for execution by the memory controller, to flush a cache of the computer system; program instructions, for execution by the memory controller, to identify a preceding snapshot; program instructions, for execution by the memory controller, responsive to identifying the preceding snapshot, to harden changes occurring after the preceding snapshot; and program instructions, for execution by the memory controller, to switch from a first indirection table to a second indirection table, wherein real memory locations referenced by the first indirection table are not overwritten while utilizing the second indirection table, and wherein the second indirection table is implemented using a copy on write methodology from the first indirection table. |