US 12,504,927 B2
Internal log management in memory systems
Kyle Brock-Petersen, Boulder, CO (US); Scheheresade Virani, Frisco, TX (US); and Steven Gaskill, Campbell, CA (US)
Assigned to Micron Technology, Inc., Boise, ID (US)
Filed by MICRON TECHNOLOGY, INC., Boise, ID (US)
Filed on Feb. 29, 2024, as Appl. No. 18/591,692.
Claims priority of provisional application 63/452,968, filed on Mar. 17, 2023.
Prior Publication US 2024/0311288 A1, Sep. 19, 2024
Int. Cl. G06F 12/00 (2006.01); G06F 3/06 (2006.01); G06F 12/02 (2006.01)
CPC G06F 3/0659 (2013.01) [G06F 12/023 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A system, comprising:
one or more memory devices; and
a controller coupled to the one or more memory devices, the controller to perform operations comprising:
maintaining a write pointer referencing a next data item position within a log buffer residing on a memory device of the one or more memory devices;
maintaining a log retrieval pointer referencing a data retrieval position within the log buffer;
storing, at a log buffer position specified by the write pointer, a data item reflecting a state of the system;
advancing the write pointer by a size of the data item;
responsive to determining that the write pointer exceeds an end of the log buffer, wrapping the write pointer around the end of the log buffer;
responsive to receiving, from a host, a log retrieval request, retrieving log data starting from the position within the log buffer referenced by the log retrieval pointer, wherein the size of the retrieved log data is less than or equal to an amount of log data specified by the log retrieval request;
transmitting the retrieved log data to the host;
advancing the log retrieval pointer by a size of the retrieved log data;
responsive to determining that the log retrieval pointer exceeds the end of the log buffer, wrapping the log retrieval pointer around the end of the log buffer.