US 10,891,226 B1
Virtual address space dump in a computer system
Neil William Leedham, Bursledon (GB); Adam G. Giounas, Edinburgh (GB); Matthew Sunley, Allbrook (GB); and Sean John Cawood, Eastleigh (GB)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Aug. 1, 2019, as Appl. No. 16/529,147.
Int. Cl. G06F 3/06 (2006.01); G06F 12/02 (2006.01); G06F 11/30 (2006.01); G11C 11/56 (2006.01)
CPC G06F 12/0246 (2013.01) [G06F 3/067 (2013.01); G06F 3/0608 (2013.01); G06F 3/0638 (2013.01); G06F 3/0646 (2013.01); G06F 11/3037 (2013.01); G11C 11/5628 (2013.01); G11C 11/5642 (2013.01); G06F 2201/815 (2013.01); G11C 2211/5646 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for operating a computer system to carry out a data dump of a data image of memory contents, the method comprising:
in response to receipt of a data dump request to record a data image, suspending operations of the computer system that results in the data image being corrupted;
writing to a dump storage a subset of the pages required for the data image, including contents of the data image in the volatile memory;
preparing a record of the pages in the virtualized address space whose contents is still to be written to the dump storage as part of the data image;
resuming operations of the computer system under supervision of a monitoring process;
wherein the monitoring process includes checking page requests to access non-volatile memory to trap any that relate to a page contained in the record which is still to be written to the dump storage, and upon such a trap ensuring contents of the page is written to the dump storage space before any modification occurs; and
wherein the monitoring process further includes continually updating the record to keep track of which pages are still to be written to the dump storage.