Patent ID: 11886333
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. 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.