# US 2025/0156099 A1 · Optimization for unmap backlog operations in memory system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0156099 A1
- Document ID: US20250156099A1
- Status: Published application
- Kind: A1
- Application number: 19/022,976
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2018-01-24
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Chunyu Sheng; Huachen Li; Xiaolai Zhu; Xiao Wang; Wenjun Wu
- Web page: https://patentgrep.com/patent/US20250156099A1

## CPC

- A01G 25/16: Control of watering
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- B05B 12/081: {responsive to the weight of a reservoir or container for liquid or other fluent material; responsive to level or volume of liquid or other fluent material in a reservoir or container}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0673: {Single storage device}
- Y02A 40/28: specially adapted for farming
- A01G: HORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING (picking of fruits, vegetables, hops or the like A01D46/00; propagating unicellular algae C12N1/12)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- B05B: SPRAYING APPARATUS; ATOMISING APPARATUS; NOZZLES (spray-mixers with nozzles B01F25/72; processes for applying liquids or other fluent materials to surfaces by spraying B05D)
- Y02A: TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE

## Abstract

Methods, systems, and devices for optimization for unmap backlog operations in a memory system are described. A memory system may perform multiple iterations of an unmap process for a set of data in an unmap backlog. Each iteration may include storing a change log that indicates entries in a second physical pointer that have changed according to the unmap process and storing a page validity change log according to the second physical pointer. The memory system may include circuitry configured to merge the physical pointers to generate the page validity change logs. The circuitry may merge the page validity change logs with one or more page validity tables (PVTs) to update the one or more PVTs. After completing the iterations, the memory system may flush the one or more updated PVTs from a first memory device to a second memory device of the memory system.

## Claims

### Claim 1

A memory system, comprising:
one or more memory devices; and
processing circuitry coupled with the one or more memory devices and configured to cause the memory system to:
perform a plurality of iterations of an unmap process for a set of data in an unmap backlog of a memory system, wherein the plurality of iterations of the unmap process produce a plurality of page validity change logs, and wherein each iteration of the plurality of iterations comprises the processing circuitry configured to cause the memory system to:
store, in a first memory device of the memory system and based at least in part on a first physical pointer, a change log that indicates a set of entries from among a plurality of entries in a second physical pointer that have changed based at least in part on the unmap process; and
store, in the first memory device and based at least in part on the second physical pointer, a page validity change log of the plurality of page validity change logs; and
flush, based at least in part on completion of the plurality of iterations, one or more page validity tables from the first memory device to a second memory device of the memory system.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the processing circuitry is further configured to cause the memory system to:
flush as part of a final iteration of the plurality of iterations of the unmap process, a plurality of second physical pointers from the first memory device to the second memory device.

### Claim 3 (depends on 2)

The memory system of claim 2, wherein the processing circuitry is further configured to cause the memory system to:
load, from the second memory device to the first memory device, the plurality of second physical pointers; and
merge a plurality of change logs stored in the first memory device during the unmap process with the plurality of second physical pointers, wherein flushing the plurality of second physical pointers from the first memory device to the second memory device is based at least in part on the merging.

### Claim 4 (depends on 1)

The memory system of claim 1, wherein each iteration further comprises the processing circuitry configured to cause the memory system to:
generate a plurality of entries of the page validity change log, wherein the page validity change log is stored based at least in part on a quantity of entries of the plurality of entries in the page validity change log exceeds a threshold; and
generate a second plurality of entries of a second page validity change log based at least in part on the quantity of entries of the plurality of entries in the page validity change log exceeding the threshold.

### Claim 5 (depends on 1)

The memory system of claim 1, wherein the processing circuitry is further configured to cause the memory system to:
load, from the second memory device to the first memory device, the one or more page validity tables; and
update, at the first memory device, the one or more page validity tables based at least in part on the plurality of page validity change logs, wherein flushing the one or more page validity tables from the first memory device to the second memory device is based at least in part on updating the one or more page validity tables.

### Claim 6 (depends on 5)

The memory system of claim 5, wherein the processing circuitry is further configured to cause the memory system to:
transfer, based at least in part on loading the one or more page validity tables to the first memory device, the one or more page validity tables to a buffer of circuitry of the first memory device, the circuitry configured to merge the plurality of page validity change logs with the one or more page validity tables; and
activate the circuitry, wherein updating the one or more page validity tables is based at least in part on activating the circuitry.

### Claim 7 (depends on 1)

The memory system of claim 1, wherein the processing circuitry is further configured to cause the memory system to:
load, from the second memory device to the first memory device, the first physical pointer; and
generate, based at least in part on the first physical pointer loaded to the first memory device, the change log that indicates the set of entries from among the plurality of entries in the second physical pointer that have changed.

### Claim 8 (depends on 1)

The memory system of claim 1, wherein the processing circuitry is further configured to cause the memory system to:
receive an unmap command that indicates a plurality of memory addresses to be unmapped;
unmap, based at least in part on the unmap command, a portion of memory addresses from among the plurality of memory addresses; and
store the unmap backlog based at least in part on unmapping the portion of the memory addresses, wherein the unmap backlog indicates remaining memory addresses from among the plurality of memory addresses, the remaining memory addresses associated with the set of data.

### Claim 9 (depends on 1)

The memory system of claim 1, wherein:
each entry of the plurality of entries in the second physical pointer corresponds to a page of entries in the first physical pointer; and
each entry of the page of entries in the first physical pointer maps a respective logical address to a respective physical address in the second memory device where corresponding data is stored.

### Claim 10 (depends on 1)

The memory system of claim 1, wherein the page validity change log indicates one or more pages of the set of data that have been unmapped as part of the unmap process.

### Claim 11 (depends on 1)

The memory system of claim 1, wherein the first memory device comprises random access memory (RAM) and the second memory device comprises not-and (NAND) memory.

### Claim 12

A memory system, comprising:
a first memory device configured to store data and one or more physical pointer tables associated with the data;
a second memory device configured to store one or more change logs configured to indicate changes to the data based at least in part on an unmap process; and
circuitry coupled with the first memory device and the second memory device, and configured to cause the memory system to:
obtain, from the first memory device, a first physical pointer configured to map a plurality of logical addresses to a plurality of physical addresses;
obtain, from the second memory device, the one or more change logs configured to indicate the changes to the data based at least in part on the unmap process;
apply the one or more change logs to the first physical pointer; and
output, to the first memory device based at least in part on application of the one or more change logs to the first physical pointer, a page validity change log configured to indicate one or more pages of the data that have changed based at least in part on an unmap operation.

### Claim 13 (depends on 12)

The memory system of claim 12, wherein the circuitry is further configured to cause the memory system to:
generate, based at least in part on the application of the one or more change logs to the first physical pointer, one or more second change logs configured to indicate changes to a second physical pointer.

### Claim 14 (depends on 13)

The memory system of claim 13, wherein the circuitry is further configured to cause the memory system to:
obtain, from the first memory device, the second physical pointer;
apply the one or more second change logs to the second physical pointer; and
generate the page validity change log based at least in part on the application of the one or more second change logs to the second physical pointer.

### Claim 15 (depends on 13)

The memory system of claim 13, wherein:
each entry of a plurality of entries in the second physical pointer corresponds to a page of entries in the first physical pointer; and
each entry of the page of entries in the first physical pointer maps a respective logical address to a respective physical address in the second memory device where corresponding data is stored.

### Claim 16 (depends on 12)

The memory system of claim 12, wherein the circuitry is further configured to cause the memory system to:
generate a plurality of entries of the page validity change log, wherein the page validity change log is output based at least in part on a quantity of entries of the plurality of entries in the page validity change log exceeding a threshold.

### Claim 17 (depends on 16)

The memory system of claim 16, wherein the circuitry is further configured to cause the memory system to:
generate, based at least in part on outputting the page validity change log, a plurality of second entries of a second page validity change log; and
output, to the second memory device, the second page validity change log based at least in part on a quantity of entries of the plurality of second entries in the second page validity change log exceeding the threshold.

### Claim 18 (depends on 12)

The memory system of claim 12, wherein the first physical pointer comprises entries that are included in an unmap backlog of the memory system.

### Claim 19 (depends on 12)

The memory system of claim 12, wherein the first memory device comprises not-and (NAND) memory and the second memory device comprises random access memory (RAM).

### Claim 20

A memory system, comprising:
a first memory device configured to store data and one or more physical pointer tables associated with the data;
a second memory device configured to store one or more change logs configured to indicate changes to the data based at least in part on access operations; and
circuitry coupled with the first memory device and the second memory device, and configured to cause the memory system to:
obtain, from the first memory device, a page validity table configured to indicate whether one or more pages of a plurality of pages of data stored in the first memory device are valid;
receive, from the second memory device and at a buffer of the circuitry, a plurality of change logs configured to indicate changes to the page validity table based at least in part on an unmap process performed by the memory system;
apply the plurality of change logs to the page validity table; and
output the updated page validity table based at least in part on application of the plurality of change logs.

### Claim 21 (depends on 20)

The memory system of claim 20, wherein, to apply the plurality of change logs to the page validity table, the circuitry is further configured to cause the memory system to:
identify one or more entries in the page validity table that have changed based at least in part on the unmap process; and
store, in the identified one or more entries of the page validity table, changed data based at least in part on the plurality of change logs.

### Claim 22 (depends on 20)

The memory system of claim 20, wherein the circuitry is further configured to cause the memory system to:
generate, based at least in part on one or more physical pointers, the plurality of change logs configured to indicate the changes to the page validity table; and
output the plurality of change logs to the second memory device, wherein receiving the plurality of change logs is based at least in part on the generation of the plurality of change logs.

### Claim 23 (depends on 20)

The memory system of claim 20, wherein the first memory device comprises not-and (NAND) memory and the second memory device comprises random access memory (RAM).
