×

Memory management method

  • US 9,891,854 B2
  • Filed: 11/11/2016
  • Issued: 02/13/2018
  • Est. Priority Date: 06/17/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for managing main memory comprising DRAM and NVRAM in a computer depending on a transition of an operation state of the computer, the method comprising:

  • upon start of the computer, loading at least one of a first program and a first data into the DRAM, and loading at least one of a second program and a second data into the NVRAM;

    in a state transition from a normal operation of the computer to a suspend state of the computer, moving the first data in the DRAM to the NVRAM on a page basis;

    in a state transition from the suspend state of the computer to the normal operation of the computer, reading the first data from the NVRAM on a page basis for program execution by the computer;

    in the case where a first data write to the NVRAM on a page basis occurs while reading the first data from the NVRAM on a page basis, stopping the first data write, and moving the first data in a data area of the NVRAM subjected to the first data write, to the DRAM on a page basis;

    performing the first data write on a page basis to the DRAM to which the first data has been moved;

    detecting a first use state of the DRAM; and

    moving a page in the DRAM that has not been read for a first time and has not been written for a second time to the NVRAM responsive to detecting the first use state of the DRAM.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×