# US 2024/0256449 A1 · Tracking memory modifications at cache line granularity

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

- Number: US 2024/0256449 A1
- Document ID: US20240256449A1
- Status: Published application
- Kind: A1
- Application number: 18/629,269
- Filed: 2024-04-08
- Published: 2024-08-01
- Earliest claimed: 2022-05-13
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: David Boles
- Web page: https://patentgrep.com/patent/US20240256449A1

## CPC

- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 12/0802: Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/1471: involving logging of persistent data for recovery
- G06F 12/0835: {for main memory peripheral accesses (e.g. I/O or DMA)}
- G06F 12/0886: Variable-length word access
- G06F 12/0215: {with look ahead addressing means}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/084: with a shared cache
- G06F 13/1668: {Details of memory controller}
- G06F 2212/1016: Performance improvement
- G06F 2212/60: Details of cache memory
- G06F 2212/657: Virtual address space management
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and computer readable media for tracking memory deltas at a cache line granularity. The method includes receiving a base address for a physical memory region, receiving a list of empty log memory buffers associated with a delta logging session, and responsive to determining that a cache line associated with the physical memory region may be in a modified state, storing the modified cache line and metadata associated with the modified cache line in an active log memory buffer referenced by the list of empty log memory buffers. The method also includes determining that the active log memory buffer is full and appending a flag to the active log memory buffer, thereby marking the active log memory buffer as a full log memory buffer. The method also includes storing a list of full log memory buffers, wherein the list is visible to a host processor.

## Claims

### Claim 1

A system comprising:
a memory device; and
a processing device, operatively coupled with the memory device, to:
receive a base address for a physical memory region;
receive a list of empty log memory buffers;
responsive to determining that a cache line in the physical memory region is in a modified state, store the cache line and metadata associated with the cache line in an active log memory buffer referenced by the list of empty log memory buffers; and
send a status message to a host processor, the status message comprising a session identifier of a logging session.

### Claim 2 (depends on 1)

The system of claim 1, wherein the memory device is further configured to:
receive a synchronization request from the host processor;
send a status request to the host processor;
responsive to determining that the cache line is in a modified state, invalidate the cache line;
append the modified cache line and the metadata associated with the modified cache line to the active log memory buffer; and
associate a synchronization record with the active log memory buffer prior to indicating the active log memory buffer as full log memory buffer.

### Claim 3 (depends on 1)

The system of claim 1, wherein the metadata comprises a cache line status flag indicating whether the cache line is in a modified state and a memory address of the modified cache line.

### Claim 4 (depends on 1)

The system of claim 1, wherein the memory device is further configured to:
store a list of full log memory buffers, wherein the list is visible to the host processor.

### Claim 5 (depends on 1)

The system of claim 1, wherein the system comprises a computer express link (CXL) device and wherein the processing device is a memory controller of the CXL device.

### Claim 6 (depends on 5)

The system of claim 5, wherein the CXL device comprises one of a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a ferroelectric random access memory (FeRAM), a magnetic random access memory (MRAM), and a resistive random access memory (RRAM).

### Claim 7 (depends on 1)

The system of claim 1, wherein the processing device is operatively coupled to the host processor, and an interface between the host processor and the processing device comprises a compute express link (CXL) or a communication link that allows cache line granularity updates and shares coherency control with the processing device.

### Claim 8

A method comprising:
receiving, by a processing device, a base address for a physical memory region;
receiving a list of empty log memory buffers;
responsive to determining that a cache line in the physical memory region is in a modified state, storing the cache line and metadata associated with the cache line in an active log memory buffer referenced by the list of empty log memory buffers; and
sending a status message to a host processor, the status message comprising a session identifier of a logging session.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving a synchronization request from the host processor;
sending a status request to the host processor;
responsive to determining that the cache line is in a modified state, invalidating the cache line;
appending the modified cache line and the metadata associated with the modified cache line to the active log memory buffer; and
associating a synchronization record with the active log memory buffer prior to indicating the active log memory buffer as full log memory buffer.

### Claim 10 (depends on 8)

The method of claim 8, wherein the metadata comprises a cache line status flag indicating whether the cache line is in a modified state and a memory address of the modified cache line.

### Claim 11 (depends on 8)

The method of claim 8, further comprising:
storing a list of full log memory buffers, wherein the list is visible to the host processor.

### Claim 12 (depends on 8)

The method of claim 8, wherein the system comprises a computer express link (CXL) device and wherein the processing device is a memory controller of the CXL device.

### Claim 13 (depends on 12)

The method of claim 12, wherein the CXL device comprises one of a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a ferroelectric random access memory (FeRAM), a magnetic random access memory (MRAM), and a resistive random access memory (RRAM).

### Claim 14 (depends on 8)

The method of claim 8, wherein the processing device is operatively coupled to the host processor, and an interface between the host processor and the processing device comprises a compute express link (CXL) or a communication link that allows cache line granularity updates and shares coherency control with the processing device.

### Claim 15

A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a processing device, cause the processing device to:
receive a base address for a physical memory region;
receive a list of empty log memory buffers;
responsive to determining that a cache line in the physical memory region is in a modified state, store the cache line and metadata associated with the cache line in an active log memory buffer referenced by the list of empty log memory buffers; and
send a status message to a host processor, the status message comprising a session identifier of a logging session.

### Claim 16 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, further comprising executable instructions that, when executed by the processing device, cause the processing device to:
receive a synchronization request from the host processor;
send a status request to the host processor;
responsive to determining that the cache line is in a modified state, invalidate the cache line;
append the modified cache line and the metadata associated with the modified cache line to the active log memory buffer; and
associate a synchronization record with the active log memory buffer prior to indicating the active log memory buffer as full log memory buffer.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the metadata comprises a cache line status flag indicating whether the cache line is in a modified state and a memory address of the modified cache line.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, further comprising executable instructions that, when executed by the processing device, cause the processing device to:
store a list of full log memory buffers, wherein the list is visible to the host processor.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the system comprises a computer express link (CXL) device and wherein the processing device is a memory controller of the CXL device.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the processing device is operatively coupled to the host processor, and an interface between the host processor and the processing device comprises a compute express link (CXL) or a communication link that allows cache line granularity updates and shares coherency control with the processing device.
