Back to results
US 11,886,333 B2Granted
Memory block reclamation method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsFlorian Longnos, Wei Yang
Life of this patent
Estimating the term…
Abstract
A memory block reclamation method includes, after receiving an unmap command sent by a memory controller, a medium controller reclaims one or more memory blocks in a non-volatile memory connected to the medium controller based on memory logical address information in the unmap command. The one or more reclaimed memory blocks are available memory blocks.
Claims20
A memory block reclamation method implemented by a medium controller in a computer system, wherein the memory block reclamation method comprises:
- receiving from a memory controller in the computer system and using a non-volatile dual in-line memory module (NVDIMM) protocol (NVDIMM-P), and unmap command comprising memory logical address information of one or more to-be-reclaimed memory blocks in a non-volatile memory in the computer system;
- receiving, from the memory controller and subsequent to receiving the unmap command, an address extension command comprising length information indicating a quantity of the one or more to-be-reclaimed memory blocks;
- and
- reclaiming, in response to the unmap command and the address extension command, the one or more of the to-be-reclaimed memory blocks based on the memory logical address information and length information to obtain one or more reclaimed memory blocks,
- wherein one or more of the reclaimed memory blocks are available memory blocks.
2 more elements
A memory system, comprising:
- a non-volatile memory;
- and
- a medium controller coupled to the non-volatile memory and configured to:
- receive, from a memory controller and using a non-volatile dual in-line memory module (NVDIMM) protocol (NVDIMM-P), an unmap command comprising memory logical address information of one or more to-be-reclaimed memory blocks in a non-volatile memory;
- receive, from the memory controller and subsequent to receiving the unmap command, an address extension command that comprises length information indicating a quantity of the one or more to-be-reclaimed memory blocks;
- and
- reclaim, in response to the unmap command and the address extension command, the one or more of the to-be-reclaimed memory blocks based on the memory logical address information and length information to obtain one or more reclaimed memory blocks,
- wherein one or more of the reclaimed memory blocks are available memory blocks.
5 more elements
A system comprising:
- a processor configured to send a trim instruction comprising memory logical address information of one or more to-be-reclaimed memory blocks;
- a memory controller coupled to the processor and configured to:
- receive the trim instruction;
- send an unmap command to reclaim the one or more to-be-reclaimed memory blocks in a non-volatile memory, wherein the unmap command comprises the memory logical address information of the one or more to-be-reclaimed memory blocks;
- and
- send an address extension command that comprises length information indicating a quantity of the one or more to-be-reclaimed memory blocks;
- and
- a medium controller coupled to the memory controller and configured to:
- receive the unmap command from the memory controller and using a non-volatile dual in-line memory module (NVDIMM) protocol (NVDIMM-P);
- receive, from the memory controller and subsequent to receiving the unmap command, an address extension command that comprises length information indicating a quantity of the one or more to-be-reclaimed memory blocks;
- and
- reclaim, in response to the unmap command and the address extension command, the one or more to-be-reclaimed memory blocks from the non-volatile memory based on the memory logical address information and length information to obtain one or more reclaimed memory blocks,
- wherein the non-volatile memory is coupled to the medium controller, and wherein one or more of the reclaimed memory blocks are available memory blocks.
10 more elements
Dependencies are inferred from the claim text.