# US 2025/0165190 A1 · Stack management in memory systems

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

- Number: US 2025/0165190 A1
- Document ID: US20250165190A1
- Status: Published application
- Kind: A1
- Application number: 19/027,352
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2018-03-15
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Alex Frolikov
- Web page: https://patentgrep.com/patent/US20250165190A1

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0625: {Power saving in storage systems}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1028: Power efficiency
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7209: Validity control, e.g. using flags, time stamps or sequence numbers
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A memory system having a stack memory, a set of media, and a controller. The controller divides the stack memory into a plurality of stacks, measures usages of the stacks in a period of time of operating on the set of media, and adjusts partitioning of the stack memory into the plurality of stacks according to the measured usages.

## Claims

### Claim 1

A system, comprising:
a memory configurable as a plurality of stacks; and
a controller operable to:
measure usages of the stacks; and
adjust how the memory is partitioned for allocation to the plurality of stacks.

### Claim 2 (depends on 1)

The system of claim 1, further comprising:
a set of media, wherein the controller is further operable to control operations to access the set of media using the plurality of stacks.

### Claim 3 (depends on 2)

The system of claim 2, wherein the set of media includes a flash memory.

### Claim 4 (depends on 3)

The system of claim 3, wherein the system is configured as a solid state drive.

### Claim 5 (depends on 4)

The system of claim 4 wherein the controller is operable to operate the stacks in executing commands received in the solid state drive to:
store data in the flash memory; and
retrieve data from the flash memory.

### Claim 6 (depends on 5)

The system of claim 5, wherein the controller is further operable to:
fill unused portions of the memory with a predetermined value pattern; and
search for boundaries of the stacks based on the predetermined value pattern, wherein the usages of the stacks are measured based on the boundaries.

### Claim 7 (depends on 6)

The system of claim 6, wherein the predetermined value pattern is a predetermined value.

### Claim 8 (depends on 6)

The system of claim 6, wherein the predetermined value pattern includes a predetermined relation a location in the memory and a value stored at the location in the memory.

### Claim 9 (depends on 6)

The system of claim 6, wherein the controller is operable to search the boundaries by:
identifying, in the memory, a region containing a boundary between a portion having the predetermined value pattern and a portion not having the predetermined value pattern;
retrieving a value from a location within the region, wherein the location divides the region into a first region and a second region;
determining whether the value agrees with the predetermined value pattern; and
identifying, based on whether the value agrees with the predetermined value pattern, either the first region or the second region as a region containing the boundary.

### Claim 10

A method, comprising:
partitioning a memory into a plurality of segments;
operating a plurality of stacks in the plurality of segments respectively;
measuring usages of the stacks during a period of time; and
adjusting partition of the plurality of segments in the memory for the plurality of stacks.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
executing commands to access a set of media based on operating the stacks.

### Claim 12 (depends on 11)

The method of claim 11, wherein the commands are configured to store data into the set of media and to retrieve data from the set of media.

### Claim 13 (depends on 10)

The method of claim 10, further comprising:
filling unused portions of the memory with a predetermined value pattern; and
searching for a boundary of a stack and an unused portion of the memory based on the predetermined value pattern.

### Claim 14 (depends on 13)

The method of claim 13, wherein the predetermined value pattern is represented by a predetermined value.

### Claim 15 (depends on 13)

The method of claim 13, wherein the predetermined value pattern includes a predetermined relation between a location in the memory and a value stored at the location.

### Claim 16 (depends on 13)

The method of claim 13, wherein the searching includes:
identifying, in the memory, a region containing the boundary between the unused portion having the predetermined value pattern and a portion not having the predetermined value pattern;
retrieving a value from a location within the region, wherein the location divides the region into a first region and a second region;
determining whether the value agrees with the predetermined value pattern; and
identifying, based on whether the value agrees with the predetermined value pattern, either the first region or the second region as a region containing the boundary.

### Claim 17

A non-transitory computer storage medium storing instructions which when executed by a controller cause the controller to perform a method, the method comprising:
partitioning a memory into a plurality of segments;
operating a plurality of stacks in the plurality of segments respectively;
measuring usages of the stacks during a period of time; and
adjusting partition of the plurality of segments in the memory for the plurality of stacks.

### Claim 18 (depends on 17)

The non-transitory computer storage medium of claim 17, wherein the measuring of the usages comprises:
filling unused portions of the memory with a predetermined value pattern; and
searching for a boundary of a stack and an unused portion of the memory based on the predetermined value pattern.

### Claim 19 (depends on 18)

The non-transitory computer storage medium of claim 18, wherein the searching for the boundary comprises:
identifying, in the memory, a region containing the boundary between the unused portion having the predetermined value pattern and a portion not having the predetermined value pattern;
retrieving a value from a location within the region, wherein the location divides the region into a first region and a second region;
determining whether the value agrees with the predetermined value pattern; and
identifying, based on whether the value agrees with the predetermined value pattern, either the first region or the second region as a region containing the boundary.

### Claim 20 (depends on 18)

The non-transitory computer storage medium of claim 18, wherein the predetermined value pattern includes a predetermined relation between a location in the memory and a value stored at the location.
