Memory Reclamation Method and Apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsFei Xia, Dejun Jiang, Wei Wei, Jin Xiong
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsFei Xia, Dejun Jiang, Wei Wei, Jin Xiong
Estimating the term…
A memory reclamation method and apparatus are disclosed. The memory reclamation method is performed by a processor for reclaiming memory pages of a non-volatile memory (NVM) in a terminal device. In the method, the processor receives a memory reclamation request message including a reclamation identifier which is used to indicate a quantity of memory pages requested to be reclaimed. Then, the processor reclaims inactive memory pages of the NVM according to the reclamation identifier in ascending order of the write times of inactive memory pages of the NVM. According to the memory reclamation method, a page having a relatively small quantity of inactive memory page write times of the NVM is reclaimed first, and a page having a relatively large quantity of inactive memory page write times of the NVM is reclaimed later.
A method for reclaiming memory pages of a non-volatile memory (NVM) in a terminal device, the method being performed by a processor and comprising:
A terminal device, comprising a processor coupled to a non-volatile memory (NVM) and configured to:
A terminal device, comprising:
Dependencies are inferred from the claim text.