发明名称 MEMORY RECYCLING METHOD AND DEVICE
摘要 <p>Embodiments of the present invention provide a memory reclamation method and apparatus. The memory reclamation method includes: receiving a memory reclamation request message, where the memory reclamation request message includes a reclamation identifier, and the reclamation identifier is used to indicate a quantity of memory pages requested to be reclaimed; and reclaiming inactive memory pages of an NVM according to the reclamation identifier in ascending order of the write times of inactive memory pages of the non-volatile memory NVM. According to the memory reclamation method and apparatus in the embodiments of the present invention, inactive memory pages of an NVM are reclaimed in ascending order of the write times of inactive memory pages of the NVM, so that 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. Therefore, wear leveling of the NVM is achieved, and the stability and reliability of a storage unit is improved.</p>
申请公布号 KR20150095781(A) 申请公布日期 2015.08.21
申请号 KR20157018254 申请日期 2014.01.13
申请人 HUAWEI TECHNOLOGIES CO., LTD. 发明人 XIA FEI;JIANG DEJUN;WEI WEI;XIONG JIN
分类号 G06F12/02 主分类号 G06F12/02
代理机构 代理人
主权项
地址